Developer Guide and Reference

Contents

mp1, Qprec

Improves floating-point precision and consistency.

Syntax

Linux:
-mp1
macOS:
-mp1
Windows:
/Qprec
Arguments
None
Default
OFF
The compiler provides good accuracy and run-time performance at the expense of less consistent floating-point results.
Description
This option improves floating-point consistency. It ensures the out-of-range check of operands of transcendental functions and improves the accuracy of floating-point compares.
This option prevents the compiler from performing optimizations that change NaN comparison semantics and causes all values to be truncated to declared precision before they are used in comparisons. It also causes the compiler to use library routines that give better precision results compared to the X87 transcendental instructions.
This option disables fewer optimizations and has less impact on performance than option
-fp-model precise
(Linux*
and
macOS*
) or option
/fp:precise
(Windows*).
Alternate Options
None

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804