pub fn f32_to_f8(x: f32, variant: Fp8Variant) -> u8Expand description
Encodes x as an f8 byte in variant. See the module docs for rounding/saturation
behavior.
pub fn f32_to_f8(x: f32, variant: Fp8Variant) -> u8Encodes x as an f8 byte in variant. See the module docs for rounding/saturation
behavior.