Float.Model.UnpackedFloat.abs_toReal_round_sub_le
Library · theorem
Exact inputs at an exponent ≥ minExponent round with relative error 2⁻ᵖ, no underflow term (the underflow range is a fixed-point grid that contains the input).
Float.Model.UnpackedFloat.abs_toReal_round_sub_le {spec : Float.Model.Format}
(s : Float.Model.UnpackedFloat.Sign) (m : ℕ) (e : ℤ) (hm : 0 < m) (he : spec.minExponent ≤ e) :
|(Float.Model.UnpackedFloat.round spec s m e).toReal - s.toReal * (↑m * 2 ^ e)| ≤
spec.unitRoundoff * (↑m * 2 ^ e)Import NLAlib.ForMathlib.Data.Float.Operations.