[Paper Review] The complexity of multiple-precision arithmetic
This paper analyzes the computational complexity of multiple-precision arithmetic operations, establishing tight upper and lower bounds on the number of single-precision operations needed for addition, multiplication, division, square roots, and transcendental functions. It shows that most elementary multiple-precision operations are linearly equivalent to multiplication, and derives optimal convergence constants for iterative methods solving nonlinear equations using variable-precision arithmetic, revealing that inverse quadratic interpolation is near-optimal for practical purposes.
In studying the complexity of iterative processes it is usually assumed that the arithmetic operations of addition, multiplication, and division can be performed in certain constant times. This assumption is invalid if the precision required increases as the computation proceeds. We give upper and lower bounds on the number of single-precision operations required to perform various multiple-precision operations, and deduce some interesting consequences concerning the relative efficiencies of methods for solving nonlinear equations using variable-length multiple-precision arithmetic. A postscript describes more recent developments.
Motivation & Objective
- To analyze the computational complexity of multiple-precision arithmetic operations under variable precision.
- To establish tight upper and lower bounds on the number of single-precision operations required for fundamental operations like addition, multiplication, division, and square roots.
- To investigate how variable-precision arithmetic affects the efficiency of iterative methods for solving nonlinear equations.
- To determine the asymptotic constants of convergence for various zero-finding methods and identify optimal strategies under different precision growth rates.
- To compare the relative efficiencies of fixed-precision and variable-precision methods for solving nonlinear equations, revealing counterintuitive results.
Proposed method
- Uses a model of multiple-precision arithmetic where numbers are represented with n bits of fraction, assuming standard floating-point format and bounded memory.
- Applies asymptotic complexity analysis using the notation t_n(B) for worst-case time of operation B with precision n, and defines linear reducibility and equivalence between operations.
- Establishes that multiple-precision addition, subtraction, and scaling are linearly equivalent to each other and to basic operations on single-precision numbers.
- Demonstrates that division, squaring, and square root computation are linearly equivalent to multiplication, using known algorithms and complexity bounds.
- Analyzes transcendental functions (exp, log, trigonometric) and shows they are linearly equivalent to each other and to multiplication under certain conditions.
- Derives asymptotic constants C(α) for various zero-finding methods and identifies optimal methods based on the growth rate α of precision with iteration count.
Experimental results
Research questions
- RQ1What is the computational complexity of multiple-precision addition and related operations, and how do they relate to single-precision operations?
- RQ2Are multiple-precision division, square root, and squaring operations linearly equivalent to multiplication, and what are the bounds on their complexity?
- RQ3How do the complexities of elementary transcendental functions (exp, log, sin, etc.) compare to multiplication and to each other?
- RQ4What are the optimal convergence constants for iterative methods solving nonlinear equations when using variable-precision arithmetic?
- RQ5How do the relative efficiencies of different zero-finding methods change when precision increases with iteration, and which method is asymptotically optimal?
Key findings
- Multiple-precision addition, subtraction, and scaling are linearly equivalent to single-precision operations, requiring O(n) time for n-bit precision.
- Division, squaring, and square root computation are linearly equivalent to multiplication, with complexity O(M(n)) where M(n) is the time to multiply two n-bit numbers.
- Transcendental functions such as exponential, logarithmic, and trigonometric functions are linearly equivalent to multiplication and to each other under standard assumptions.
- The inverse quadratic interpolation method (I_μ with μ=σ≈0.5436) is asymptotically optimal for α ≤ 4.6056, achieving the minimal convergence constant C_I(α).
- For α > 5.0608, the optimal secant method S_2 becomes more efficient than inverse interpolation, and for α > 8.7143, the optimal discrete Newton method is best.
- The asymptotic constant C(α) for any well-defined and convergent multiple-precision method satisfies C(α) ≥ 1, and this bound is tight as α → ∞.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.