Executable native-backed unpacked floating-point square root #
The unpacked-float square-root implementation reduces the radicand to the rounding scale before calling the proved integer-root dispatcher. The original core remains available with its exact logical-model contract.
@[inline]
def
FloatLib.Floats.Formats.BinaryInterchange.Model.NativeModelSqrt.sqrtCore
(spec : Float.Model.Format)
(mantissa : ℕ)
(exponent : ℤ)
:
Native-backed implementation of Lean's unpacked square-root core.
Instances For
@[inline]
def
FloatLib.Floats.Formats.BinaryInterchange.Model.NativeModelSqrt.sqrt
(spec : Float.Model.Format)
:
Native-backed implementation of Lean's logical unpacked floating-point square root.