This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: csin implementation discrepancy vs glibc
On Fri, 19 Jan 2007, Richard Guenther wrote:
> On 1/19/07, Kaveh R. GHAZI <ghazi@caip.rutgers.edu> wrote:
> > It occurred to me that the fortran list might be interested in a
> > discrepancy I found between fortran/simplify.c:gfc_simplify_sin and the
> > glibc implementation of csin. See:
> > http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01610.html
> >
> > Thoughts?
>
> The glibc variant is obviously broken as ccos(PI) != cos(PI) for them.
> Richard.
I thought they only diverge when the real part is negative.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu