On the computation of the reciprocal of floating point expansions using an adapted Newton-Raphson iteration - LAAS - Laboratoire d'Analyse et d'Architecture des Systèmes Access content directly
Conference Papers Year : 2014

On the computation of the reciprocal of floating point expansions using an adapted Newton-Raphson iteration

Abstract

Many numerical problems require a higher computing precision than that offered by common floating point (FP) formats. One common way of extending the precision is to represent numbers in a \emph{multiple component} format. With so-called \emph{floating point expansions}, numbers are represented as the unevaluated sum of standard machine precision FP numbers. This format offers the simplicity of using directly available and highly optimized FP operations and is used by multiple-precisions libraries such as Bailey's QD or the analogue Graphics Processing Units tuned version, GQD. In this article we present a new algorithm for computing the reciprocal FP expansion ${a}^{-1}$ of a FP expansion $a$. Our algorithm is based on an adapted Newton-Raphson iteration where we use "truncated" operations (additions, multiplications) involving FP expansions. The thorough error analysis given shows that our algorithm allows for computations of very accurate quotients. Precisely, after $i\geq0$ iterations, the computed FP expansion $x=x_0+\ldots+x_{2^i-1}$ satisfies the relative error bound: $\abs{\frac{x-a^{-1}}{a^{-1}}}\leq 2^{-2^i(p-3)-1}$, where $p>2$ is the precision of the FP representation used ($p=24$ for single precision and $p=53$ for double precision).
Fichier principal
Vignette du fichier
invNewton.pdf (159.31 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-00957379 , version 1 (10-03-2014)

Identifiers

  • HAL Id : hal-00957379 , version 1

Cite

Mioara Joldes, Jean-Michel Muller, Valentina Popescu. On the computation of the reciprocal of floating point expansions using an adapted Newton-Raphson iteration. 25th IEEE International Conference on Application-specific Systems, Architectures and Processors, ASAP, Jun 2014, Zurich, Switzerland. pp.8. ⟨hal-00957379⟩
633 View
1289 Download

Share

Gmail Facebook X LinkedIn More