TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.DirectedSemantics.Subtraction

Directed subtraction soundness for conventional IEEE formats #

Subtraction reuses directed addition after exact sign-bit negation of the right operand. Generic finite-value negation semantics turn the resulting sum bounds into real subtraction bounds.

Downward-rounded subtraction is a lower bound on exact real subtraction.

Exact real subtraction is bounded above by upward-rounded subtraction.