Refinement of two-limb posit rounding #
Significands that fit in 128 bits use two-limb guard/sticky rounding; larger significands use the arbitrary-width direct rounder. Both branches agree with the shared exact-dyadic rounding specification. The same refinement also proves that normalizing a four-limb product to a two-limb window with a sticky bit preserves the rounded result.
Capacity dispatch preserves the shared arbitrary-width direct positive rounder.
Complete two-limb rounding has the shared arbitrary-width direct semantics.
Two-limb positive rounding is the shared exact-dyadic rounder.
Positive two-limb rounding always selects a code below the sign bit.
Packed positive rounding returns the exact-dyadic model value.
Every two-limb rounded result is a valid complete posit encoding.
Re-encoding the code-only result gives the model-valued two-limb rounder.
Two-limb rounding is exactly the shared exact-dyadic rounder.
Two-limb rounding therefore refines the exact rational Posit Standard semantics.
The carrier-returning positive rounder denotes the shared exact positive round code.
This theorem is the boundary used by packed arithmetic: execution retains UInt128, while
refinement proofs recover the same natural-number code as the general capacity-dispatched
rounder.
Carrier-returning positive rounding always stays below the Posit sign bit.
Signed carrier-returning rounding is the general two-limb exact round code.
Normalizing a four-limb significand into its jammed two-limb leading window preserves direct positive Posit rounding for every two-limb-eligible format.
Signed two-limb rounding of a normalized jammed four-limb significand is exactly the shared arbitrary-width result.