This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/24313] complex sqrt function does not return principal value
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 23:35:30 -0000
- Subject: [Bug libfortran/24313] complex sqrt function does not return principal value
- References: <bug-24313-10567@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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