This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/57974] std::pow(std::complex<long double>(0),1) returns (-nan,-nan)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57974

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uros at gcc dot gnu.org

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Uros, can you help me with this annoying wrong-code?

I suspect the back end could be also involved because it happens only for long
double and I didn't see anything special for long double in builtins.c

(if isn't clear enough, the expression in Comment #1 or #2 evaluates to -nan
instead of 0)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]