This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/57974] std::pow(std::complex<long double>(0),1) returns (-nan,-nan)
- From: "henner.sudek at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jul 2013 11:49:38 +0000
- Subject: [Bug middle-end/57974] std::pow(std::complex<long double>(0),1) returns (-nan,-nan)
- Auto-submitted: auto-generated
- References: <bug-57974-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57974
--- Comment #14 from Henner Sudek <henner.sudek at gmail dot com> ---
First i want to thank you all for the quick response and solving my problem. I
just want to point out that std::pow(std::complex<long double>(0,0),1.) still
returns nan. Maybe there is an way to unify the behavior of these functions?