An Asymptotic Expansion for the Error Term in the Brent-McMillan Algorithm for Euler’s Constant


  •  R. B. Paris    

Abstract

The Brent-McMillan algorithm is the fastest known procedure for the high-precision computation of Euler’s constant γ and is based on the modified Bessel functions I_0(2x) and K_0(2x). An error estimate for this algorithm relies on the optimally truncated asymptotic expansion for the product I_0(2x)K_0(2x) when x assumes large positive integer values. An asymptotic expansion for this optimal error term is derived by exploiting the techniques developed in hyperasymptotics, thereby enabling more precise information on the error term than recently obtained bounds and estimates.



This work is licensed under a Creative Commons Attribution 4.0 License.