[Bug c/24581] Complex arithmetic on special cases is incorrect.

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Nov 21 23:44:00 GMT 2010


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

--- Comment #15 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2010-11-21 23:33:48 UTC ---
For the original program I get

-0.000000e+00 -0.000000e+00
-nan inf

which appears correct (if one part of a complex number is an infinity, 
anything is valid for the other part and the overall value is still an 
infinity).



More information about the Gcc-bugs mailing list