This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/25017] sqrt, csqrt may give a wrong result if real part of compex argument is zero
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2005 13:05:07 -0000
- Subject: [Bug libfortran/25017] sqrt, csqrt may give a wrong result if real part of compex argument is zero
- References: <bug-25017-8520@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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