------- Comment #1 from fxcoudert at gcc dot gnu dot org 2005-11-24 13:05 ------- This bug is in glibc (same code on non-glibc platform, such as sparc-solaris, will give the right answer). It was reported in glibc bugzilla as #1466 (http://sources.redhat.com/bugzilla/show_bug.cgi?id=1466), and is now fixed in glibc CVS.
Perhaps we need to workaround that bug somewhere. Opinions, please! -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Summary|sqrt, csqrt may give a wrong|sqrt, csqrt may give a wrong |result if real part of |result if real part of |compex argument is zero |compex argument is zero http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25017