Skip to main content

Q4

Constant Q4 

Source
pub const Q4: i32 = 16;
Expand description

Fixed-point scale for log-space scalars. Q4 = 16 means every integer step is 1/16 of a log unit (≈ 0.0625). At this resolution, i32 covers a dynamic range of ~ ±67 million log units — far more than any realistic candidate score needs.