Skip to Main content Skip to Navigation
New interface
Journal articles

Arithmetic algorithms for extended precision using floating-point expansions

Abstract : 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. More precisely, after q iterations, the computed FP expansion x=x_0+\ldots+x_{2^q-1} satisfies, for the reciprocal algorithm, the relative error bound: |(x-1/a)*a| <= 2^{-2^q(p-3)-1} and, respectively, for the square root one: |x-1/sqrt(a)| <= 2^{-2^q(p-3)-1}/sqrt(a), where p>2 is the precision of the FP representation used (p=24 for single precision and p=53 for double precision).
Document type :
Journal articles
Complete list of metadata

Cited literature [18 references]  Display  Hide  Download
Contributor : Valentina Popescu Connect in order to contact the contributor
Submitted on : Tuesday, June 2, 2015 - 3:13:51 PM
Last modification on : Tuesday, October 25, 2022 - 4:17:38 PM
Long-term archiving on: : Tuesday, April 25, 2017 - 12:03:26 AM


Files produced by the author(s)



Mioara Joldes, Olivier Marty, Jean-Michel Muller, Valentina Popescu. Arithmetic algorithms for extended precision using floating-point expansions. IEEE Transactions on Computers, 2016, 65 (4), pp.1197 - 1210. ⟨10.1109/TC.2015.2441714⟩. ⟨hal-01111551v2⟩



Record views


Files downloads