This is the mail archive of the gcc-patches@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]

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


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


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