Executable packing semantics #
For a descriptor with fmt.isIEEE = true and a nonzero denominator, a finite result produced
by roundRatScaled denotes roundAt applied to the corresponding real value.
The positive proof covers underflow, subnormal and normal results, including a carry into the next
exponent. Finiteness excludes the overflow branches. The signed theorem restores the sign through
the symmetry proved in RoundedReal.
Executable packing semantics #
Positive scaled-rational rounding denotes the independent nearest-even rounded-real value whenever the executable result is finite.
Finite scaled rational rounding is exact signed rational evaluation followed by one nearest-even rounding in the destination format.
Finite scaled-rational rounding agrees with nearest-even real rounding, including a zero numerator. A nonzero denominator is still required, because zero denominators produce an invalid result.