This is the mail archive of the
mailing list for the GCC project.
Re: gcc handling of the sin, cos functions
- To: gcc at gcc dot gnu dot org
- Subject: Re: gcc handling of the sin, cos functions
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Fri, 19 Nov 1999 18:08:54 -0600 (CST)
- Reply-To: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
On 19 Nov 1999, Alexandre Oliva wrote:
> On Nov 19, 1999, Richard Henderson <firstname.lastname@example.org> wrote:
> > On Fri, Nov 19, 1999 at 01:11:44AM -0200, Alexandre Oliva wrote:
> >> Indeed. But the docs say it is not a safe thing to do. It would be
> >> nice if gcc could expand the safe versions of these functions in
> >> -fno-fast-math mode.
> > The code would be too big; you'd gain nothing.
> But then why does glibc define all those functions with inline asm?
Just so we can turn those off using -D__NO_MATH_INLINES ;-) I have found
the inline versions to be rather lacking in stability for extreme values,
at least on the versions that I have installed, for our FP-intensive
modeling codes. So does GNU Octave for example.