This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13450] std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0)
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2004 16:41:33 -0000
- Subject: [Bug libstdc++/13450] std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0)
- References: <20031219173057.13450.pkienzle@nist.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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