NLA-lib Explorer

NLAlib.Computation.isBinaryRep_floatDecode

Library · theorem

Every decoded Float has a binary64 representation: a signed integer mantissa of magnitude less than 2^{53} and a significand exponent between -1074 and 971. Nonfinite words satisfy this statement only because their junk decoding is zero.

NLAlib.Computation.isBinaryRep_floatDecode (x : Float) :
  Computation.IsBinaryRep Float.Model.Format.binary64 (Computation.floatDecode x)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.Float.