Skip to main content

PRECISION_SCALE

Constant PRECISION_SCALE 

Source
pub const PRECISION_SCALE: u32 = 6;
Expand description

The canonical rounding scale for f64 → Decimal crossings.

Six decimal places is the reference convention established by the original hrp::decimal_from_f64 helper in qbot-core domain-indicators — deep enough for regression coefficients and HRP weights, shallow enough that rounding reliably cancels IEEE-754 representation noise.