Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
ffp-contract
Controls when the compiler is permitted to form fused floating-point operations, such as fused multiply-add (FMA). Fused operations are allowed to produce more precise results than performing the individual operations separately.
Syntax
| Linux: | -ffp-contract=keyword | 
| Windows: | None | 
Arguments
| keyword | Possible values are: 
 | 
Default
| -ffp-contract=fast | Fuses floating-point operations across statements. However, if option -fp-model=strict is specified, the default is -ffp-contract=off. | 
Description
This option controls when the compiler is permitted to form fused floating-point operations, such as fused multiply-add (FMA). Fused operations are allowed to produce more precise results than performing the individual operations separately.
IDE Equivalent
Alternate Options
None