Visible to Intel only — GUID: GUID-4F3015CF-F5BB-4183-886A-D8DE85369A23
Visible to Intel only — GUID: GUID-4F3015CF-F5BB-4183-886A-D8DE85369A23
mp1, Qprec
Improves floating-point precision and consistency. This feature is only available for ifort.
Syntax
Linux: |
-mp1 |
macOS: |
-mp1 |
Windows: |
/Qprec |
Arguments
None
Default
OFF |
The compiler provides good accuracy and runtime 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 fltconsistency.
This option disables fewer optimizations and has less impact on performance than option fltconsistency,-fp-model precise (Linux* and macOS), or option /fp:precise (Windows*).
IDE Equivalent
Alternate Options
None