Floating-point Arithmetic Precision

Option

Description

-mp
 

Restricts some optimizations to maintain declared precision and to ensure that floating-point arithmetic conforms more closely to the ANSI and IEEE 754 standards.

-mp1

Improves floating-point precision. Some speed impact, but less than -mp.

IA-32 applications

-pc{32|64|80}

Default: -pc64

Enables floating-point significand precision control as follows:
-pc32
to 24-bit significand
-pc64
to 53-bit significand (Default)
-pc80
to 64-bit significand  

-prec_div

Imroves the floating point division-to-multiplication optimization; may impact speed.

-rcd

Enables fast float-to-int conversion.

-fp_port

Rounds floating-point results at assignments and casts. Some speed impact.