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ยง
- compute_
signed_ ๐value - Computes the signed value string for a given
BigUintand bit width. - decode_
e4m3 ๐ - Decode u8 as 8-bit float with four exponent bits and three mantissa bits.
- decode_
e4m3_ ๐f64 - Decode u8 as 8-bit float with four exponent bits and three mantissa bits, returning f64.
- decode_
e5m2 ๐ - Decode u8 as 8-bit float with five exponent bits and two mantissa bits.
- decode_
e5m2_ ๐f64 - Decode u8 as 8-bit float with five exponent bits and two mantissa bits, returning f64.
- format_
fp8_ ๐value - Format an f64 value as a string for FP8 display.
- shortest_
float_ ๐representation - translate_
numeric ๐ - If
valueis a biguint or consists only of 1 or 0, translates the value usingbiguint_translator. Ifvaluecontains other values such as X, Z etc. the result is the correspondingValueKind