Skip to main content

fp8_e4m3_to_f32

Function fp8_e4m3_to_f32 

pub fn fp8_e4m3_to_f32(byte: u8) -> f32
Expand description

Convert an FP8 E4M3 byte to f32.

Format: 1 sign bit, 4 exponent bits (bias 7), 3 mantissa bits.