This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Sine and Cosine Accuracy
- From: Scott Robert Ladd <scott dot ladd at coyotegulch dot com>
- To: "Menezes, Evandro" <evandro dot menezes at amd dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 26 May 2005 20:03:19 -0400
- Subject: Re: Sine and Cosine Accuracy
- References: <84EA05E2CA77634C82730353CBE3A843028F45BE@SAUSEXMB1.amd.com>
Menezes, Evandro wrote:
> This is not true. Compare results on an x86 systems with those on an
> x86_64 or ppc. As I said before, shortcuts were taken in x87 that
> sacrificed accuracy for the sake of speed initially and later of
> compatibility.
It *is* true for the case where the argument is in the range [0, 2*PI),
at least according to the tests I published earlier in this thread. If
you think there is something erroneous in the test code, I sincerely
would like to know.
..Scott