TorchLean API

FloatLib.Floats.Formats.DecimalInterchange.BID.Proof

BID coefficient correctness and complete datum round trips #

BID coefficient and exponent packing satisfies the field bounds and recovers every valid datum after encoding. Every decoded word is valid; canonicalization preserves the complete datum and is idempotent.

Recover both the coefficient and the biased exponent from either steering branch.

Oversized BID significands denote zero while retaining the encoded exponent.

An excessive BID NaN payload denotes zero rather than a decimal remainder.

The executable BID fields satisfy the shared codec laws.

Encoding and decoding preserve a representable datum exactly.

Canonicalizing a BID word preserves its sign, quantum exponent, and special metadata.