Precise error estimate of the Brent-McMillan algorithm for the computation of Euler's constant
Abstract
Brent and McMillan introduced in 1980 a new algorithm for the computation of Euler's constant γ, based on the use of the Bessel functions I\0(x) and K\0(x). It is the fastest known algorithm for the computation of γ. The time complexity can still be improved by evaluating a certain divergent asymptotic expansion up to its minimal term. Brent-McMillan conjectured in 1980 that the error is of the same magnitude as the last computed term, and Brent-Johansson partially proved it in 2015. They also gave some numerical evidence for a more precise estimate of the error term. We find here an explicit expression of that optimal estimate, along with a complete self-contained formal proof and an even more precise error bound.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.