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: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible
Date: Sun, 6 Feb 2022 19:52:06 -0500 (EST)

Update of bug #61968 (project octave):

                  Status:          Ready For Test => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #23:

Thank you for the additional csets Markus and Rik 🙂

Regarding comment #21: xelem should be okay here too.  In the first branch "e"
is a dense matrix and in the second a sparse matrix.  Maybe I was overcautious
when facing Sparse(rrors).

Regarding comment #22: Your understanding of the standard is correct and as
written in comment #19 (2.) There is no `std::ldexpf` and `std::ldexpl` to
find.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3690.pdf

§ 26.8 C library (8) [p. 993ff.]

In addition to the double versions of the math functions in <cmath>, C++ adds
float and long double overloaded versions of these functions, with the same
semantics.


§ 26.8 C library (8)

The added signatures are:
...
float ldexp(float, int);
...
long double ldexp(long double, int);
...


    _______________________________________________________

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]