optmath

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

It is similar to fastmath, but does not allow unsafe-fp-math. This flag does NOT force LDC to use the reciprocal of an argument rather than perform division.

This flag is default for string lambdas.

Note: Can be used with all compilers.

version(LDC)
alias optmath = AliasSeq!(ldc.attributes.llvmFastMathFlag("fast"))

Meta