Executable configured OCP MX operations #
E8M0 exposes checked scale decoding and construction. MX blocks expose their joint storage and a checked decoder that rejects non-finite element words and, for nonempty blocks, NaN scales.
These wrappers allow any array length and binary element descriptor. A successful block decode returns the exact dyadic value of every element after applying the shared scale. An empty block decodes to an empty array without inspecting its scale.
Wrap a complete E8M0 code without conversion.
Instances For
Recover the complete E8M0 code without conversion.
Instances For
Construct an E8M0 value from its complete byte pattern.
Instances For
Read the complete E8M0 byte pattern.
Instances For
Whether the value is the unique E8M0 NaN code.
Instances For
Decode the unbiased power-of-two exponent, or none for NaN.
Instances For
Decode the exact positive dyadic scale, or none for NaN.
Instances For
Construct an E8M0 scale when the requested exponent is representable.
Instances For
Construct an E8M0 scale after explicitly clamping its exponent.
Instances For
Apply a finite E8M0 scale to an exact dyadic value.
Instances For
Wrap a complete MX block code without conversion.
Instances For
Recover the complete MX block code without conversion.
Instances For
Construct a joint block from one configured E8M0 scale and its element words.
Instances For
Construct a block from nominal static-byte elements.
The element family determines the block descriptor. Conversion to the proof model happens only at this storage boundary, so application code can keep using the ordinary executable low-bit type.
Instances For
Configured E8M0 scale stored by the block.
Instances For
Binary-interchange element words stored by the block.
Instances For
Decode each scaled element; an empty block succeeds without inspecting the scale.