NLA-lib Explorer

Float.Model.Format.targetExponent_eq

Library · theorem

The rounding exponent is clamped below by the smallest subnormal exponent.

Float.Model.Format.targetExponent_eq (spec : Float.Model.Format) (T : ℤ) :
  spec.targetExponent T = max (T - ↑spec.mantissaBits) spec.minExponent

Full source on GitHub

Import NLAlib.ForMathlib.Data.Float.Basic.