[Bug libstdc++/28406] What should be value of sqrt(complex<double>(-1.0,-0.0))?

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 7 17:14:00 GMT 2006



------- Comment #5 from ian at airs dot com  2006-08-07 17:14 -------
Insofar as I understand this issue, it seems that C99 and the C++ standard
specify different results for the square root of (-1, -0).

If that is correct, then we can decide that we want libstdc++ to follow C99
rather than the C++ standard, but I don't think we can settle that simply by
looking at C99.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com


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



More information about the Gcc-bugs mailing list