[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
Wed Jul 24 23:17:00 GMT 2013


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

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Or, more elegantly:

  __builtin_expl (-__builtin_huge_vall ())



More information about the Gcc-bugs mailing list