pub fn f32_to_bf16(x: f32) -> u16
x rounded to bfloat16, to nearest with ties to even; a NaN stays a quiet NaN.
x