This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/25017] sqrt, csqrt may give a wrong result if real part of compex argument is zero



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]