TorchLean API

FloatLib.Floats.ExecFloat.Backends.Word.Narrow.Packing

Native binary32 field-packing identities #

The executable field operations live in Narrow.Base.Runtime. This module proves that extracting and repacking a native binary32 word is lossless, and records the native form of quieting a NaN.

These bit-level identities are shared by addition and fused multiply-add proofs, but do not depend on either arithmetic operation.

Repacking the fields extracted from a native binary32 word returns the original word.

Setting the native quiet-NaN bit agrees with setting the generic binary32 quiet bit.