Rounding Into A Generic Format #
Rounding any real with a valid integer-rounding rule produces a value in the selected generic format. The proof separates inputs whose magnitude is at most the selected exponent from those above it.
Negative inputs reduce to positive ones through round_neg, which conjugates the integer rule by
negation. Conjugation exchanges floor and ceiling and fixes truncation.
Positive inputs in the small-magnitude regime round either to zero or to one radix power.
Rounding in the small-magnitude regime produces a generic-format value.
In the large-magnitude regime, the rounded value lies between the endpoints of the input magnitude bin, including the upper endpoint, and belongs to the generic format.
Rounding in the large-magnitude regime produces a generic-format value.
Every positive real rounds into the selected generic format.
Conjugating floor by negation gives ceiling.
Conjugating ceiling by negation gives floor.
Toward-zero integer rounding commutes with negation.
Rounding any real produces a value in the selected generic format.