[PATCH] libgfortran/24313 wrong branch cut for csqrt()

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Oct 11 21:13:00 GMT 2005


On Tue, Oct 11, 2005 at 10:51:11PM +0200, Tobias Schl?ter wrote:
> Steve Kargl wrote:
> > The attached patch fixes a problem with chosing the
> > proper branch cut for csqrt((0,-1)).  This problem 
> > is also in glibc in that libgfortran imported glibc's
> > csqrt{f}, which is used on OS's without these functions
> > in libm.
> 
> Does this mean that the test will fail on all platforms which use glibc?  In
> that case you should XFAIL the test and file a bug report with glibc.
> 

Yes, the testcase will fail on all glibc systems.
I'll add the xfail to the testcase.

OK for mainline/4.0 with that change?

-- 
Steve



More information about the Fortran mailing list