This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [ballen@uwm.edu] libc/2269: triginometric argument reductionerror in libm
- To: ballen at gravity dot phys dot uwm dot edu
- Subject: Re: [ballen@uwm.edu] libc/2269: triginometric argument reductionerror in libm
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Sun, 20 May 2001 13:31:23 -0700
- CC: ballen at gravity dot phys dot uwm dot edu, aj at suse dot de, libc-alpha at sources dot redhat dot com, ballen at uwm dot edu, moshier at mediaone dot net
- References: <Pine.GSO.4.21.0105201508300.6510-100000@dirac>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
What actually happens is that if you try to use the fsin instruction
on operands where |x| > 2^63, it does nothing and sets an error flag.
The problem is that the glibc x86 libm doesn't recover accurately in
this case (it should reduce the argument and use fsin again).
--
- Geoffrey Keating <geoffk@geoffk.org>