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

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Sun Jan 11 04:42:00 GMT 2004


------- Additional Comments From gdr at integrable-solutions dot net  2004-01-11 04:42 -------
Subject: Re:  New: std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0)


I'm not sure I see precisely what your problem is.  
Can you describe it from the mathematical abstract point of view --
ignoring implementation details?
The branch cut for the first parameter is precisely the negative real
axis. 


-- Gaby



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13450



More information about the Gcc-bugs mailing list