Skip to content

pipeline.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

  • pipeline.fold.fastmath