This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Sine and Cosine Accuracy
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Scott Robert Ladd'" <scott dot ladd at coyotegulch dot com>,"'Morten Welinder'" <mwelinder at gmail dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Thu, 26 May 2005 18:41:26 +0100
- Subject: RE: Sine and Cosine Accuracy
----Original Message----
>From: Scott Robert Ladd
>Sent: 26 May 2005 18:36
> I am simply lobbying for the separation of hardware intrinsics from
> -funsafe-math-optimizations.
Well, as long as they're under the control of a flag that also makes it
clear that they are *also* unsafe math optimisations, I wouldn't object.
But you can't just replace a call to the ANSI C 'sin' function with an
invocation of the x87 fsin intrinsic, because they aren't the same, and the
intrinsic is non-ansi-compliant.
cheers,
DaveK
--
Can't think of a witty .sigline today....