This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem on i386 with -fpic -fomit-frame-pointer
- To: bcurrie at tssc dot co dot nz, rth at cygnus dot com
- Subject: Re: Problem on i386 with -fpic -fomit-frame-pointer
- From: N8TM at aol dot com
- Date: Thu, 15 Oct 1998 09:08:20 EDT
- Cc: law at cygnus dot com, crux at pool dot informatik dot rwth-aachen dot de, egcs at cygnus dot com, hjl at gnu dot org
In a message dated 10/15/98 2:43:58 AM Pacific Daylight Time,
bcurrie@tssc.co.nz writes:
> What about PI and e (log2(e)?) and any other constants that are
> available in hardware? Yes, I know there's the problem of recognising
> them (ie they have to be specified `exactly' (for the representation)).
> I can't remember them all, but I know the Intel FPU has a few other
> usefull constants.
When I first used gcc, on a Sun 3/60, I modified the constant recognition
function so that it used the internal constant if it was within 1 +-
DBL_EPSILON or FLT_EPSILON, as the case might be, of matching. Pedantically
speaking, this isn't correct, but I found the results quite satisfactory, as
it was really better to have the occasional boost in precision.