fp-relaxed, Qfp-relaxed

Enables use of faster but slightly less accurate code sequences for math functions.

IDE Equivalent

None

Architectures

IA-64 architecture

Syntax

Linux:

-fp-relaxed

-no-fp-relaxed

Mac OS X:

None

Windows:

/Qfp-relaxed

/Qfp-relaxed-

Arguments

None

Default

-no-fp-relaxed
or/Qfp-relaxed-

Default code sequences are used for math functions.

Description

This option enables use of faster but slightly less accurate code sequences for math functions, such as divide and sqrt. When compared to strict IEEE* precision, this option slightly reduces the accuracy of floating-point calculations performed by these functions, usually limited to the least significant digit.

This option also enables the performance of more aggressive floating-point transformations, which may affect accuracy.

Alternate Options

Linux: -IPF-fp-relaxed (this is a deprecated option)

Windows: /QIPF-fp-relaxed (this is a deprecated option)

See Also