[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61715] Inconsistent NaN results for exponenti
From: |
Arun Giridhar |
Subject: |
[Octave-bug-tracker] [bug #61715] Inconsistent NaN results for exponential function (0+0i)^0 with libc++ and libstdc++ |
Date: |
Wed, 22 Dec 2021 20:20:49 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 |
Follow-up Comment #4, bug #61715 (project octave):
I tested this with Octave 8 (hg id: 74fe77faf861) and got the correct result 1
for all the tests 0^0, 0.^0, (0+0i)^0, and (0+0i).^0. This was the behavior
whether Octave was compiled with gcc or with clang. Running ldd on both Octave
binaries gave the same results, and said they were linked against libstdc++. I
have both libstdc++ and libc++ available but configure picked libstdc++ for
both compilers.
Do you have to do something special to link against libc++ or does it happen
automatically on some platforms like Mac? Is it a viable solution to require
Octave to link against libstdc++ instead of libc++ for all platforms, or is
that infeasible for Mac?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61715>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/