[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/
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, (continued)
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Markus Mützel, 2022/02/04
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Kai Torben Ohlhus, 2022/02/05
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, John W. Eaton, 2022/02/05
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, John W. Eaton, 2022/02/05
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Markus Mützel, 2022/02/06
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Markus Mützel, 2022/02/06
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Kai Torben Ohlhus, 2022/02/06
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Kai Torben Ohlhus, 2022/02/06
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Markus Mützel, 2022/02/06
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Markus Mützel, 2022/02/06
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible,
Kai Torben Ohlhus <=
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Markus Mützel, 2022/02/07
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, anonymous, 2022/02/08
- [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible, Markus Mützel, 2022/02/08