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

2013-07-26 Thread henner.sudek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57974 --- Comment #14 from Henner Sudek --- 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(0,0),1.) still returns nan. Maybe there is an way to unify the behavior of these

[Bug c++/57974] New: std::pow(std::complex(0),1) returns (-nan,-nan)

2013-07-24 Thread henner.sudek at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: henner.sudek at gmail dot com Created attachment 30548 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30548&action=edit the preprocessed file (*.i*) that triggers the bug The following progra