This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Sine and Cosine Accuracy
- From: Richard Henderson <rth at redhat dot com>
- To: Scott Robert Ladd <scott dot ladd at coyotegulch dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 26 May 2005 08:47:54 -0700
- Subject: Re: Sine and Cosine Accuracy
- References: <4295DE66.2050701@coyotegulch.com>
On Thu, May 26, 2005 at 10:34:14AM -0400, Scott Robert Ladd wrote:
> static const double range = PI; // * 2.0;
> static const double incr = PI / 100.0;
The trig insns fail with large numbers; an argument
reduction loop is required with their use.
r~