Structsยง
- BFloat16
Translator - Double
Precision Translator - E4M3
Translator - E5M2
Translator - Half
Precision Translator - Posit8
Translator - Posit16
Translator - Posit32
Translator - Posit
Quire8 Translator - Posit
Quire16 Translator - Signed
Fixed Point Translator - Signed
Translator - Single
Precision Translator - Unsigned
Fixed Point Translator - Unsigned
Translator
Functionsยง
- decode_
e4m3 ๐ - Decode u8 as 8-bit float with four exponent bits and three mantissa bits
- decode_
e5m2 ๐ - Decode u8 as 8-bit float with five exponent bits and two mantissa bits
- shortest_
float_ ๐representation - translate_
numeric ๐ - If
value
is a biguint or consists only of 1 or 0, translates the value usingbiguint_translator
. Ifvalue
contains other values such as X, Z etc. the result is the corresponding ValueKind