Skip to main content

quantise_q

Function quantise_q 

Source
pub fn quantise_q(v: f64, spec: &QuantSpec) -> (i64, bool)
Expand description

Quantise a real value to an integer, reporting whether clamping occurred.