NLA-lib Explorer

Float.Model.Format.minExponent_eq

Library · theorem

The smallest subnormal exponent in terms of exponent bias and stored fraction bits.

Float.Model.Format.minExponent_eq (spec : Float.Model.Format) [Fact (2 ≤ spec.exponentBits)] :
  spec.minExponent = 1 - ↑spec.exponentBias - ↑spec.mantissaBitsWithoutImplicit

Full source on GitHub

Import NLAlib.ForMathlib.Data.Float.Basic.