Correctness of flattened packed-word exact-dyadic posit arithmetic #
The flattened packed-word kernels agree with the shared exact-dyadic operations, preserve the
complete posit encoding range, and admit verified compiler substitutions. Executable definitions
live in FloatLib.Floats.Formats.Posit.Arithmetic.Word.Packed.Dyadic.Runtime.
Addition #
Flattened scalar-field addition is the exact packed-word addition.
Valid-word addition is exactly flattened packed-word addition.
Every valid-word addition result is a complete in-range posit encoding.
Compile exact packed addition through scalar-field elimination.
Subtraction #
Flattened scalar-field subtraction is the exact packed-word subtraction.
Valid-word subtraction is exactly flattened packed-word subtraction.
Every valid-word subtraction result is a complete in-range posit encoding.
Compile exact packed subtraction through scalar-field elimination.
Multiplication #
Flattened scalar-field multiplication is the exact packed-word multiplier.
Valid-word multiplication is exactly flattened packed-word multiplication.
Every valid-word multiplication result is a complete in-range posit encoding.
Compile exact packed multiplication through scalar-field elimination.
Fused multiply-add #
Flattened scalar-field FMA is the exact packed-word FMA.
Valid-word FMA is exactly flattened packed-word FMA.
Every valid-word FMA result is a complete in-range posit encoding.
Compile exact packed FMA through scalar-field elimination.