Skip to content

vector.FastMathFlags enum

← Attribute reference

IEEE 754 fast-math relaxation flags for float operations.

Cases

Keyword Value Description
reassoc 1 Allow reassociation.
nnan 2 Assume no NaNs.
ninf 4 Assume no infinities.
nsz 8 Assume no signed zeros.
arcp 16 Allow reciprocal approximation.
contract 32 Allow contractions (FMA).
afn 64 Approximate functions.
fast 127 All of the above.

Used by

  • vector.absf.fastmath
  • vector.acosf.fastmath
  • vector.acoshf.fastmath
  • vector.addf.fastmath
  • vector.asinf.fastmath
  • vector.asinhf.fastmath
  • vector.atan2f.fastmath
  • vector.atanf.fastmath
  • vector.atanhf.fastmath
  • vector.cbrtf.fastmath
  • vector.ceilf.fastmath
  • vector.clampf.fastmath
  • vector.cmpf.fastmath
  • vector.copysignf.fastmath
  • vector.cosf.fastmath
  • vector.coshf.fastmath
  • vector.costurnsf.fastmath
  • vector.divf.fastmath
  • vector.dotf.fastmath
  • vector.erfcf.fastmath
  • vector.erff.fastmath
  • vector.exp2f.fastmath
  • vector.expf.fastmath
  • vector.expm1f.fastmath
  • vector.floorf.fastmath
  • vector.fmaf.fastmath
  • vector.geluf.fastmath
  • vector.log10f.fastmath
  • vector.log1pf.fastmath
  • vector.log2f.fastmath
  • vector.logf.fastmath
  • vector.logisticf.fastmath
  • vector.maximumf.fastmath
  • vector.maxnumf.fastmath
  • vector.minimumf.fastmath
  • vector.minnumf.fastmath
  • vector.mulf.fastmath
  • vector.negf.fastmath
  • vector.powf.fastmath
  • vector.reduce.axes.fastmath
  • vector.reduce.fastmath
  • vector.remf.fastmath
  • vector.roundevenf.fastmath
  • vector.roundf.fastmath
  • vector.rsqrtf.fastmath
  • vector.siluf.fastmath
  • vector.sinf.fastmath
  • vector.sinhf.fastmath
  • vector.sinturnsf.fastmath
  • vector.softplusf.fastmath
  • vector.sqrtf.fastmath
  • vector.subf.fastmath
  • vector.tanf.fastmath
  • vector.tanhf.fastmath
  • vector.truncf.fastmath