Visible to Intel only — GUID: GUID-925DBAEC-7703-47DF-8E55-44DC010DBEE1
Visible to Intel only — GUID: GUID-925DBAEC-7703-47DF-8E55-44DC010DBEE1
rcd, Qrcd
Enables fast float-to-integer conversions. This is a deprecated option that may be removed in a future release. This feature is only available for ifort.
Syntax
Linux: |
-rcd |
macOS: |
-rcd |
Windows: |
/Qrcd |
Arguments
None
Default
OFF |
Floating-point values are truncated when a conversion to an integer is involved. |
Description
This option enables fast float-to-integer conversions. It can improve the performance of code that requires floating-point-to-integer conversions.
This is a deprecated option that may be removed in a future release. There is no replacement option.
The system default floating-point rounding mode is round-to-nearest. However, the Fortran language requires floating-point values to be truncated when a conversion to an integer is involved. To do this, the compiler must change the rounding mode to truncation before each floating-point-to-integer conversion and change it back afterwards.
This option disables the change to truncation of the rounding mode for all floating-point calculations, including floating point-to-integer conversions. This option can improve performance, but floating-point conversions to integer will not conform to Fortran semantics.
IDE Equivalent
Alternate Options
Linux and macOS: None
Windows: /QIfist (this is a deprecated option)