Correctness of packed one-word Posit signed sums #
Scalar alignment and signed-magnitude arithmetic are used exactly when the intermediate fits one word. Capacity failures continue in the common proved two-limb engine. These theorems establish that every branch returns the same direct exact-dyadic code.
Continuing a one-word sum in the two-limb engine preserves the direct exact code.
Scalar signed-magnitude accumulation rounds the exact aligned dyadic sum.
Scalar alignment and the two-limb continuation round the same exact dyadic sum.
Packed native addition returns the flattened exact addition code.
Packed native subtraction returns the flattened exact subtraction code.
Continuing a genuine two-limb product preserves the direct exact fused code.
Capacity-directed fused accumulation implements exact FMA.
Packed native FMA returns the flattened exact fused code.
Every packed native addition result is a complete in-range Posit encoding.
Every packed native subtraction result is a complete in-range Posit encoding.
Every packed native FMA result is a complete in-range Posit encoding.