octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible
Date: Tue, 1 Feb 2022 11:21:16 -0500 (EST)

Follow-up Comment #8, bug #61968 (project octave):

"As nice side effect the function will move from m-code to C++ code."

It's fine to make this change, but I'm not sure that defining more functions
in C++ is a good thing.  I understand there are performance issues, but I'd
rather have fewer things defined in C++ unless they are simple wrappers around
existing library code.  Another option would be to provide wrappers for ldexp
and scalbn and using those functions to define pow2.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61968>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]