Rounds floating-point results after floating-point operations.
Windows: Floating-Point
> Round Floating-Point Results
Linux: None
-fp-port: IA-32, Intel® EM64T
/Qfp-port: IA-32
Linux: | -fp-port -no-fp-port |
Windows: | /Qfp-port /Qfp-port- |
None
Linux: ON Windows: OFF |
On Linux systems, floating-point results are rounded after floating-point operations; on Windows systems, they are not. |
This option rounds floating-point results after floating-point operations. Rounding to user-specified precision occurs at assignments and type conversions. This has some impact on speed.
On Windows systems, the default is to keep results of floating-point operations in higher precision; to get this behavior on Linux systems, specify -no-fp-port. This provides better performance but less consistent floating-point results.
Linux: -fp_port
Windows: /Qfp_port
Optimizing Applications: Floating-point Options for IA-32 and Intel(R) EM64T