NLA-lib Explorer

Float.Model.BinaryRounding.isNearestFloat_self

Library · theorem

A represented value is a nearest grid value to itself.

Float.Model.BinaryRounding.isNearestFloat_self {p : ℕ} {emin : ℤ} {x : ℝ}
  (hx : Float.Model.BinaryRounding.IsBinaryFloat p emin x) :
  Float.Model.BinaryRounding.IsNearestFloat p emin x x

Full source on GitHub

Import NLAlib.ForMathlib.Data.Float.BinaryFormat.