Exact fixed-point conversion runtime #
An unbounded configured fixed-point destination has no overflow and no exceptional values. Every finite rational is rounded once to the nearest grid coefficient, with ties to even. Infinity and exceptional observations are rejected because the representation has no corresponding code.
Proofs of the reduction equations live in Conversion.Proof; destination capability instances
live in Conversion.Instances.
Quantize one complete rational observation into an unbounded fixed-point grid.
Instances For
The stored coefficient is nearest-even on the scaled integer grid, with exact status.
The half-unit bound and even-tie rule are numerical predicates on the delivered coefficient. The coefficient equality also retains the unique complete code chosen by the integer rounder. Infinity and exceptional observations retain their complete rejection reasons.
Instances For
Exact fixed-point values decode canonically to rational observations.