Correctness of native one-word finite division #
The one-word quotient kernel computes only cases whose normalized quotient and rounding evidence fit its fixed-width budget. Every IEEE descriptor stored in one word meets this budget: the sign and at least two exponent bits leave at most 61 fraction bits. The refinement relates its logarithms, restoring quotient, guard/sticky information, and packed result to the complete format-generic quotient rounder.
Under NativeSmallWord.StorageEligible, divNormal_refines_of_storage identifies every accepted
result with FiniteKernel.div?. Declined inputs use the dispatcher's exact generic fallback.
The one-word quotient rounder with the format's named normal exponent bounds in place of the machine-word bias.
roundNormalNative? reads its bounds from NativeSmallWord.biasInt so that compiled code
performs no Nat shift per call; this proof-facing twin is the same computation stated with
ieeeMinNormalExponent, ieeeMaxNormalExponent, and bias, and roundNormalNative_eq_bounds
identifies the two for every one-word format.
Instances For
The machine-word bias rounder is the rounder with the format's named exponent bounds.
Restoring division refines the finite kernel for every descriptor within its word capacity.
The shared small-word capacity is sufficient for native normal division.