NLA-lib Explorer

NLAlib.Ops.Float64.abs_decode_roundedWord_sub_le

Library · theorem

The rounded-word constructor has binary64 relative and absolute underflow allowances. [Higham2002, §2.2].

NLAlib.Ops.Float64.abs_decode_roundedWord_sub_le {x : ℝ} (h : Ops.Float64.safe x) :
  |Ops.Float64.decode (Ops.Float64.roundedWord x) - x| ≤
    Float.Model.Format.binary64.unitRoundoff * |x| + Float.Model.Format.binary64.underflowBound

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsFloat.