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

FX Coudert fxcoudert@gmail.com
Tue Oct 11 22:38:00 GMT 2005


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



More information about the Fortran mailing list