Sterbenz's Lemma for Gradual Underflow #
Sterbenz exact subtraction extends from the unbounded-exponent family FLX to the
gradual-underflow family FLT. The latter is the format used by the rounded-real binary32
model.
The proof splits on the magnitude of the exact difference. Every FLT operand lies on the
minimum-exponent grid, so a sufficiently small difference is representable by closure of that
grid under subtraction. A larger difference follows from the FLX Sterbenz theorem and the
normal-range inclusion from FLX to FLT.
Reference #
- P. H. Sterbenz, Floating-Point Computation, Prentice-Hall, 1974.
An FLX value in the normal range is representable in the corresponding FLT format.
This is the normal-range converse of generic_format_FLT_to_FLX.
Directed Sterbenz lemma for FLT: if 0 < y ≤ x ≤ 2y and both operands are representable, then
their exact difference is representable.
Sterbenz's lemma for FLT: if two positive representable values are within a factor of two, then
their exact difference is representable, including across the subnormal boundary.