[Numpy-discussion] Disabling Extended Precision in NumPy (like -ffloat-store)

Christopher Barker Chris.Barker@noaa....
Wed Apr 21 12:20:03 CDT 2010


Adrien Guillon wrote:
>  I use single-precision floating point operations.
> 
> My understanding, however, is that Intel processors may use extended
> precision for some operations anyways unless this is explicitly
> disabled, which is done with gcc via the -ffloat-store operation.

IIUC, that forces the FPU to not use the 80 bits in temps, but I think 
the fpu still uses 64 bits -- or does that flag actually force singles 
to stay single (32 bit) through the whole process as well?

-CHB



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the NumPy-Discussion mailing list