fn q_fixed(value: f64, frac: usize, width: usize) -> Option<i64>
Quantise a finite real into signed Q(frac) of width bits, or None when the value is non-finite or falls outside the representable two’s-complement range.
frac
width
None