claimroutine
Normalization and rounding conventions for Newton iteration
Defines normalized ranges and truncation for Newton iteration
fixes rounding conventions for the Newton error analysis
Claim·§10 Exact division and integer square root·inside corExact division and square root in multiplication time
Statement (paper)
Set . After a linear scan handling zero inputs and locating the significant bits, write with and for division, and with and for square root. For an integer let and ; then the prefix satisfies . Each product is computed exactly on integer significands and then rounded by , while additions and shifts are exact until a stated rounding.
In plain English
Defines the setup for exact division and square root: with , zero inputs are handled by a linear scan, and the divisor is written with (or with for square root). Truncation with gives a prefix with , and products are computed exactly then rounded by , while sums and shifts are exact.
Why it's here
This fixes the normalized ranges and the rounding rule once, so the later Newton-iteration steps for the reciprocal and the inverse square root can track their errors in units of . The bound and the rule that only products are rounded are what the residual bounds in the following claims rely on.
Classified routine:
Standard normalization and truncation setup for Newton iteration in multiple-precision arithmetic, as in Brent–Zimmermann's Modern Computer Arithmetic. It is bookkeeping that fixes the conventions the later error analysis relies on.
Uses
Nothing else in the paper
Used by
Sources
PaperOpen
- Section
- §10 Exact division and integer square root
- Page
- —
- Label
—- Line
sections/09-exact-arithmetic.tex:10
Leannot aligned
Phase 2 aligns this node to a Lean declaration.