TorchLean API

FloatLib.Floats.Formats.DecimalInterchange.DPD.Proof

DPD coefficient correctness and complete datum round trips #

DPD coefficient and exponent packing recovers every valid datum after encoding. Decoding always produces a valid datum, and canonicalization preserves that datum while removing redundant encodings idempotently.

DPD decoding recovers the coefficient and biased exponent of every finite datum.

The executable DPD fields satisfy the shared codec laws.

DPD encoding and decoding preserve the complete datum, including its cohort.

Replacing redundant declets does not alter the represented datum.