TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.DirectedSemantics.Addition

Directed addition soundness for conventional IEEE formats #

Finite operands decode to exact dyadics. Their executable directed sum is the exact dyadic sum rounded outward, except that exact cancellation selects the IEEE rounding-mode-specific signed zero. Both signed zeros denote zero, so the same enclosure theorem covers cancellation and overflow for conventional IEEE descriptors.

Downward-rounded addition is a lower bound on exact real addition for finite operands.

Exact real addition is bounded above by upward-rounded addition for finite operands.