Arithmetic algorithms for extended precision using floating-point expansions - Archive ouverte HAL Access content directly
Reports (Research Report) Year : 2015

Arithmetic algorithms for extended precision using floating-point expansions

(1, 2) , (3) , (4) , (4)


Many numerical problems require a higher computing precision than the one offered by standard floating-point (FP) formats. One common way of extending the precision is to represent numbers in a multiple component format. By using the so-called floating-point expansions, real numbers are represented as the unevaluated sum of standard machine precision FP numbers. This representation offers the simplicity of using directly available, hardware implemented and highly optimized FP operations and is used by multiple-precision libraries such as Bailey's QD or the analogue Graphics Processing Units (GPU) tuned version, GQD. In this article we revisit algorithms for adding and multiplying FP expansions, then we introduce and prove new algorithms for normalizing, dividing and square rooting of FP expansions. The new method used for computing the reciprocal and the square root of a FP expansion is based on an adapted Newton-Raphson iteration where the intermediate calculations are done using "truncated" operations (additions, multiplications) involving FP expansions. We give here a thorough error analysis showing that it allows very accurate computations.
Fichier principal
Vignette du fichier
newton-raph_report.pdf (714.11 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01111551 , version 1 (30-01-2015)
hal-01111551 , version 2 (02-06-2015)


  • HAL Id : hal-01111551 , version 1


Mioara Joldes, Olivier Marty, Jean-Michel Muller, Valentina Popescu. Arithmetic algorithms for extended precision using floating-point expansions. [Research Report] LIP - ENS Lyon; LAAS-CNRS; ENS Cachan. 2015. ⟨hal-01111551v1⟩
901 View
619 Download


Gmail Facebook Twitter LinkedIn More