Skip to main content

Module numeric

Module numeric 

Source
Expand description

Custom float implementations

Structsยง

e2m3
A 6-bit floating point type with 2 exponent bits and 3 mantissa bits.
e3m2
A 6-bit floating point type with 3 exponent bits and 2 mantissa bits.
flex32
A floating point type with relaxed precision, minimum f16, max f32.
tf32
A 19-bit floating point type implementing the tfloat32 format.