This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/13450] std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]