Computation of the error functions erf in arbitrary precision with correct rounding - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2008

Computation of the error functions erf in arbitrary precision with correct rounding

Résumé

In this paper, the computation of erf(x) in arbitrary precision is detailed. A feature of our implementation is correct rounding: the returned result is the exact result (as if it were computed with infinite precision) rounded according to the specified rounding mode. The algorithm that computes the correctly rounded value of erf(x) for any argument x is detailed in this paper. In particular, the choice of the approximation formula, the determination of the truncation rank and of the computing precision are presented. When the current truncation rank and computing precision do not suffice to determine the correctly rounded value, they are increased and the computation is done again. The optimal strategy to adapt them is given in this paper. Finally, timings on some experiments are given, and the implementation of the complementary error function erfc is then sketched.
Fichier principal
Vignette du fichier
Chevillard-Revol.pdf (177.29 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

inria-00261360 , version 1 (06-03-2008)
inria-00261360 , version 2 (08-12-2010)
inria-00261360 , version 3 (03-08-2011)

Identifiants

  • HAL Id : inria-00261360 , version 2

Citer

Sylvain Chevillard, Nathalie Revol. Computation of the error functions erf in arbitrary precision with correct rounding. [Research Report] RR-6465, 2008. ⟨inria-00261360v2⟩
194 Consultations
686 Téléchargements

Partager

Gmail Facebook X LinkedIn More