Numerical contracts for OCP MX element rounding #
The bounded candidate search implements a mathematical nearest-even specification over all finite element encodings. The proofs do not assume uniform spacing, and therefore cover subnormals, binade boundaries, finite saturation, and the asymmetric two's-complement endpoint.
INT8 is the two's-complement integer divided by 64, rather than a sign-magnitude encoding.
The chosen INT8 profile uses the complete permitted asymmetric range.
There is always a finite candidate, so the executable fallback is unreachable.
The executable finite element conversion satisfies the nearest-even numerical contract.
No finite element word has smaller absolute error than the rounded result.
A representable rational is reproduced exactly, including at finite endpoints.
An equally close even word prevents selection of an odd word.