pub fn quantize_f32(x: f32) -> i32
Quantise an f32 into Q16.16.
f32
Convenience wrapper over quantize_q16_16 for callers already working in f32 (avoids widening to f64 on soft-float platforms).
quantize_q16_16
f64