On relative errors of floating-point operations: optimal bounds and applications - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2015

On relative errors of floating-point operations: optimal bounds and applications

Résumé

Rounding error analyses of numerical algorithms are most often carried out via repeated applications of the so-called standard models of floating-point arithmetic. Given a round-to-nearest function fl and barring underflow and overflow, such models bound the relative errors E 1 (t) = |t − fl(t)|/|t| and E 2 (t) = |t − fl(t)|/|fl(t)| by the unit roundoff u. This paper investigates the possibility of refining these bounds, both in the case of an arbitrary real t and in the case where t is the exact result of an arithmetic operation on some floating-point numbers. We provide explicit and attainable bounds on E 1 (t), which are all less than or equal to u/(1 + u) and, therefore, smaller than u. For E 2 (t) the bound u is attainable whenever t = x ± y or t = xy or, in base β > 2, t = x/y with x, y two floating-point numbers. However, for division in base 2 as well as for square root, smaller bounds are derived, which are also shown to be attainable. This set of sharp bounds is then applied to the rounding error analysis of various numerical algorithms: in all cases, we obtain either much shorter proofs of the best-known error bounds for such algorithms, or improvements on these bounds themselves.
Fichier principal
Vignette du fichier
JeannerodRump14.pdf (387.69 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00934443 , version 1 (22-01-2014)
hal-00934443 , version 2 (21-12-2015)
hal-00934443 , version 3 (20-04-2016)
hal-00934443 , version 4 (03-11-2016)

Identifiants

  • HAL Id : hal-00934443 , version 2

Citer

Claude-Pierre Jeannerod, Siegfried M. Rump. On relative errors of floating-point operations: optimal bounds and applications. 2015. ⟨hal-00934443v2⟩
1186 Consultations
3293 Téléchargements

Partager

Gmail Facebook X LinkedIn More