Tells the compiler the mode in which to speculate on floating-point operations.
Windows: Floating Point > Floating-Point Speculation
Linux: None
Mac OS X: Floating Point > Floating-Point Speculation
IA-32, IntelĀ® 64, IA-64 architectures
Linux and Mac OS X: |
-fp-speculation=mode |
Windows: |
/Qfp-speculation:mode |
mode |
Is the mode for floating-point operations. Possible values are:
|
-fp-speculation=fast |
The compiler speculates on floating-point operations. This is also the behavior when optimizations are enabled. However, if you specify no optimizations (-O0 on Linux; /Od on Windows), the default is -fp-speculation=safe (Linux) or /Qfp-speculation:safe (Windows). |
This option tells the compiler the mode in which to speculate on floating-point operations.
None
Floating-point Operations: Floating-point Options Quick Reference