NLAlib.isTapeRounding_roundNearest
Library · theorem
Rounding to nearest is a tape rounding: for t \ge 1, every tag p and range \Omega, the position-independent rounding \rho(d, i, y) = \mathrm{fl}(y) meets NLAlib.Computation.IsTapeRounding at the decoding Real.roundNearest t, u = 2^{-t}, floor 0 and constant 1: relative error u, and a uniform draw in [-1, 1] rounds into [-1, 1] (Real.abs_roundNearest_le_of_mem_floatGrid at \pm1). No printed source.
NLAlib.isTapeRounding_roundNearest {P : Type} {t : ℕ} (ht : 0 < t) (p : P) (Ω : ℝ) :
Computation.IsTapeRounding (fun x ↦ Real.roundNearest t) p (2⁻¹ ^ t) 0 Ω (fun x ↦ 1) fun x x_1 y ↦
Real.roundNearest t yImport NLAlib.Matrix.FinitePrecision.GridMachine.