TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.DirectedSemantics.Multiplication

Directed multiplication soundness for conventional IEEE formats #

For finite operands, mul x y (mode := .down) and mul x y (mode := .up) round the same exact dyadic product in opposite directions. The extended-real statements hold even when outward rounding overflows.

The bounds hold for every descriptor satisfying fmt.isIEEE = true, with no restriction to named widths.

Downward-rounded multiplication is a lower bound on the exact real product.

The exact real product is bounded above by upward-rounded multiplication.