NLAlib.Computation.fixedPointRound
Library · def
Round a rational down to the fixed-point grid and reject a rounded out-of-range word.
NLAlib.Computation.fixedPointRound (scale limit : ℕ) (a : ℚ) : Option (Computation.FixedPoint limit)Import NLAlib.Matrix.FinitePrecision.FixedPoint.