Back to Search
Start Over
The functions erf and erfc computed with arbitrary precision and explicit error bounds
- Source :
-
Information & Computation . Jul2012, Vol. 216, p72-95. 24p. - Publication Year :
- 2012
-
Abstract
- Abstract: The error function erf is a special function. It is widely used in statistical computations for instance, where it is also known as the standard normal cumulative probability. The complementary error function is defined as . In this paper, the computation of and in arbitrary precision is detailed: our algorithms take as input a target precision and deliver approximate values of or with a relative error guaranteed to be bounded by . We study three different algorithms for evaluating erf and erfc. These algorithms are completely detailed. In particular, the determination of the order of truncation, the analysis of roundoff errors and the way of choosing the working precision are presented. The scheme used for implementing erf and erfc and the proofs are expressed in a general setting, so they can directly be reused for the implementation of other functions. We have implemented the three algorithms and studied experimentally what is the best algorithm to use in function of the point x and the target precision . [Copyright &y& Elsevier]
Details
- Language :
- English
- ISSN :
- 08905401
- Volume :
- 216
- Database :
- Academic Search Index
- Journal :
- Information & Computation
- Publication Type :
- Academic Journal
- Accession number :
- 76173157
- Full Text :
- https://doi.org/10.1016/j.ic.2011.09.001