English

A square root algorithm faster than Newton's method for multiprecision numbers, using floating-point arithmetic

Mathematical Software 2024-06-13 v1 Data Structures and Algorithms Numerical Analysis Numerical Analysis

Abstract

In this paper, an optimized version of classical Bombelli's algorithm for computing integer square roots is presented. In particular, floating-point arithmetic is used to compute the initial guess of each digit of the root, following similar ideas to those used in "The Art of Computer Programming" Vol. 2, p. 4.3.1 for division. A program with an implementation of the algorithm in Java is also presented, and its running time is compared with that of the algorithm provided by the Java standard library, which uses the Newton's method. From tests, the algorithm presented here turns out to be much faster.

Keywords

Cite

@article{arxiv.2406.07751,
  title  = {A square root algorithm faster than Newton's method for multiprecision numbers, using floating-point arithmetic},
  author = {Fabio Romano},
  journal= {arXiv preprint arXiv:2406.07751},
  year   = {2024}
}

Comments

28 pages

R2 v1 2026-06-28T17:02:23.796Z