------- Comment #8 from sgk at troutmask dot apl dot washington dot edu  
2005-11-29 12:47 -------
Subject: Re:  sqrt, csqrt may give a wrong result if real part of compex
argument is zero

On Tue, Nov 29, 2005 at 09:42:05AM -0000, harald dot vogt at desy dot de wrote:
> 
> 
> Comment #7 from harald dot vogt at desy dot de  2005-11-29 09:42 -------
> > 
> > I've never used glibc.  Does it define a _GLIBC_VERSION_MAJOR
> > and _GLIBC_VERSION_MINOR?  We could do
> > 
> > #if !defined(HAVE_CSQRTF) || (xx_MAJOR < 42 & xx_MINOR < 42)
> > 
> 
> Dont rely on the glibc version. The better way should be to use
> libgfortran/configure for csqrt, csqrtf, csqrtl to check them and setting 
> HAVE_CSQRT, HAVE_CSQRTF, HAVE_CSQRTL if the checks will not fail.
> 

Do you have a patch?  Because I have no idea want you
mean.  libgfortran/configurei already checks for the existence
of these functions.   glibc's are broken in the release,
but are fixed in cvs.


-- 


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

Reply via email to