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

[Bug libfortran/24313] complex sqrt function does not return principal value



------- Comment #10 from cvs-commit at gcc dot gnu dot org  2005-10-11 23:35 -------
Subject: Bug 24313

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     kargl@gcc.gnu.org       2005-10-11 23:35:27

Modified files:
        libgfortran    : ChangeLog 
        libgfortran/intrinsics: c99_functions.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/gfortran.dg: csqrt_2.f 

Log message:
        PR libgfortran/24313
        * c99_functions.c (csqrtf, csqrt): Fix choice of branch cut.  Note
        csqrt{f} were imported from glibc, and this bug is still present
        there. glibc PR is 1146.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.320&r2=1.321
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/c99_functions.c.diff?cvsroot=gcc&r1=1.16&r2=1.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/csqrt_2.f.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6170&r2=1.6171


-- 


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


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