NLA-lib Explorer

NLAlib.Computation.IsBinaryRep.abs_le

Library · theorem

A represented value has magnitude at most the format's largest finite magnitude.

NLAlib.Computation.IsBinaryRep.abs_le {fmt : Float.Model.Format} {x : ℝ}
  (hx : Computation.IsBinaryRep fmt x) : |x| ≤ fmt.maxFinite

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.BinaryFloat.