Maintains floating-point precision while disabling some optimizations.
Linux: Floating Point > Improve Floating-point Consistency
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -mp |
Windows: | None |
None
OFF | The compiler provides good accuracy and run-time performance at the expense of less consistent floating-point results. |
This option maintains floating-point precision while disabling some optimizations.It restricts optimization to maintain declared precision and to ensure that floating-point arithmetic conforms more closely to the ANSI* language and IEEE* arithmetic standards.
For most programs, specifying this option adversely affects performance. If you are not sure whether your application needs this option, try compiling and running your program both with and without it to evaluate the effects on both performance and precision.
Linux: -mieee-fp
Windows: None
mp1, Qprec compiler option