[Bug libstdc++/13450] std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0)
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 11 16:41:00 GMT 2004
------- Additional Comments From paolo at gcc dot gnu dot org 2004-01-11 16:41 -------
Well, after some years, my basic understanding of complex analysis is not so
good anymore... branch cuts... discontinuity... many values... Riemann sheets...
What's that? ;)
But, I must say, my friend Maple9.03 gives the same numbers of submitter's mypow,
for the concerned cases, that is (0, 1), (-1.57*, -4.84*)...
So...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13450
More information about the Gcc-bugs
mailing list