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

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 25 15:47:00 GMT 2013


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

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
But isn't this a bug? I mean, naively, what do we gain from the optimization
point of view from not evaluating as 0 in any case? And why it happens only for
long double?



More information about the Gcc-bugs mailing list