Re: Are f.p. manipulation functions only used in initialization?
- From: lindahl@xxxxxxx (Greg Lindahl)
- Date: 28 Apr 2008 17:25:49 -0700
In article <m2wsmj1mh2.fsf@xxxxxxxxx>,
Charles Coldwell <coldwell@xxxxxxxxx> wrote:
The comment next to _FPU_EXTENDED should be written in a bold,
blinking, red font. You will screw up all of the libm routines (such
as cos, sin, exp, log) if you change the FPU precision.
Since many fortran compilers allow you to manipulate the x87
precision, I don't think this is the case -- one commonly used
commercial compiler sets it to 64 bits *by default*.
If you want exact IEEE answers, this is only one of many things you
need to worry about.
Also, the x87 is used a lot less on x86-64 than x86.
I've also seen comments that glibc's libm only works in 1 rounding
mode. That is changed a lot less frequently than the x87 precision.
-- greg
.
- References:
- Are f.p. manipulation functions only used in initialization?
- From: James Van Buskirk
- Re: Are f.p. manipulation functions only used in initialization?
- From: Steven G. Kargl
- Re: Are f.p. manipulation functions only used in initialization?
- From: James Van Buskirk
- Re: Are f.p. manipulation functions only used in initialization?
- From: Charles Coldwell
- Are f.p. manipulation functions only used in initialization?
- Prev by Date: Re: Using external subroutines in OpenMP?
- Next by Date: Re: vintage F77 compilers for sale
- Previous by thread: Re: Are f.p. manipulation functions only used in initialization?
- Next by thread: Re: Are f.p. manipulation functions only used in initialization?
- Index(es):
Relevant Pages
|
|