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: "jvdelisle at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2005 16:33:55 -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 #2 from jvdelisle at verizon dot net 2005-11-24 16:33 -------
Subject: Re: sqrt,
csqrt may give a wrong result if real part of compex argument is zero
fxcoudert at gcc dot gnu dot org wrote:
> ------- 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!
>
>
How long before next glibc release? This problem could be painful for folks
that are using gfortran for real world applications who are not aware.
Maybe we need to add an errata file to the tree and add a message at the end of
configure to remind people to read the errata file. This would go for all of
gcc, not just gfortran.
Jerry
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25017