Skip to main content

f8_to_f32

Function f8_to_f32 

Source
pub fn f8_to_f32(byte: u8, variant: Fp8Variant) -> f32
Expand description

Decodes an f8 byte (variant) back to f32. Unlike f32_to_f8, this fully handles subnormals, since it may be asked to decode bytes this module didn’t itself produce.