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

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


On Wed, Oct 12, 2005 at 12:31:59AM +0200, FX Coudert wrote:
> >#include <stdio.h>
> >#include <complex.h>
> >
> >int main(void) {
> >   complex float z;
> >   __real__ z =  0.f;
> >   __imag__ z = -1.f;
> >   z = csqrtf(z);
> >   printf("%e %e\n", crealf(z), cimag(z));
> >}
> 
> http://sources.redhat.com/bugzilla/show_bug.cgi?id=1466

Thanks. I'll add the glibc bug number to the testcase and
the ChangeLog for the libgfortran patch.

-- 
Steve



More information about the Fortran mailing list