half::bfloat::convert

Function f32_to_bf16

Source
pub(crate) const fn f32_to_bf16(value: f32) -> u16