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: Sat, 5 Feb 2022 11:00:08 -0500 (EST)

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

In C++ with function overloading, if you have included <cmath> then you should
get the correct float or double function if you use the name ldexp depending
on the type of the argument.  In C99, I guess function overloading is done
with a magic macro.  In C++ ldexp should not be a macro but should refer to
actual overloaded function names.

    _______________________________________________________

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]