Correctness of native one-word finite multiplication #
The one-word kernel declines with a high-bit sentinel outside its guarded normal-result region. The sentinel never collides with a valid packed result, and the main refinement identifies every accepted result with the format-generic finite multiplication kernel.
Mul.Runtime has a word-valued and an optional entry point. Because they agree, the dispatcher
can use the sentinel form and fall back to the generic implementation on a decline.
Natural-number value of the one-word decline sentinel.
The word-valued normal-product result decodes to the optional result.
Since the high decline bit is outside every eligible storage word, successful packed results cannot collide with the sentinel.
A successful native normal-product round agrees with the exact finite-product rounder.
Its hypotheses are the machine-capacity and normalized-input bounds that the UInt64
implementation needs, and nothing more.
The flat sentinel-tagged word result decodes to the optional result mulNormal?.
A successful one-word normal multiplication agrees with the compact finite kernel.
The native path handles only normal IEEE operands whose intermediate fields fit in one word.
Every other input returns none, and callers fall back to the exact kernel.