fmamath

Functions attribute, an alias for AliasSeq!(llvmFastMathFlag("contract"));.

  • 1. Allow floating-point contraction (e.g. fusing a multiply followed by an addition into a fused multiply-and-add).

Note: Can be used with all compilers.

  1. alias fmamath = AliasSeq!(ldc.attributes.llvmFastMathFlag("contract"))
    version(LDC)
    alias fmamath = AliasSeq!(ldc.attributes.llvmFastMathFlag("contract"))
  2. anonymousenum fmamath

Meta