Affiliation:
1. United Arab Emirates University
Abstract
Abstract
We present efficient algorithms for multi-precision and multi-accuracy calculation of error functions and the Dawson integral, all with complex arguments. These algorithms achieve exceptional accuracies, ranging from 26 significant digits (SD) up to 30 SD depending on the function. In addition to the Faddeyeva or Faddeeva function, w(z) or the scaled complementary error function, erfcx(z) = w(iz), the list of functions considered include the error function, erf(z), complementary error function, erfc(z), imaginary error function, erfi(z), and the Dawson integral Daw(z).
These algorithms are integrated into a modern Fortran module confirming the claimed accuracies and superior efficiency compared to other competitive codes in the literature. Additionally, we highlight an observation regarding the built-in “Erfc_Scaled(x)” function included in a widely used Fortran compiler, which exhibits a significant decline in accuracy when employed in quadruple precision arithmetic.
Publisher
Research Square Platform LLC
Reference17 articles.
1. Efficient multiple–precision computation of the scaled complementary error function and the Dawson integral;-Zaghloul MR;Numerical Algorithms https://doi.,2003
2. Calculation of Fresnel integrals of real and complex arguments up to 28 significant digits;-Zaghloul MR;Numerical Algorithms https://doi.,2023
3. -Lake, G., Quinn, T., Richardson, D.C.: From Sir Isaac to the Sloan survey: calculating the structure and chaos due to gravity in the universe. In: Proc. of the 8th ACM-SIAM Symposium on Discrete Algorithms, pp. 1–10. SIAM, Philadelphia (1997)
4. Numerical solution of the expanding stellar atmosphere problem;-Hauschildt PH;J. Comput. Appl. Math.,1999
5. Highly accurate evaluation of the few-body auxiliary functions and four body integrals;-Frolov AM;J. Phys. B: At. Mol. Opt. Phys.,2003