NLAlib.Computation.val_eq_floor_of_fixedPointRound
Library · theorem
Successful rational rounding stores its integer floor on the scaled grid.
NLAlib.Computation.val_eq_floor_of_fixedPointRound {scale limit : ℕ} {a : ℚ}
{w : Computation.FixedPoint limit} (h : Computation.fixedPointRound scale limit a = some w) :
↑w = ⌊a * ↑scale⌋Import NLAlib.Matrix.FinitePrecision.FixedPoint.