Arbitrary-precision computation of the gamma function - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles Maple Transactions Year : 2023

Arbitrary-precision computation of the gamma function


We discuss the best methods available for computing the gamma function $\Gamma(z)$ in arbitrary-precision arithmetic with rigorous error bounds. We address different cases: rational, algebraic, real or complex arguments; large or small arguments; low or high precision; with or without precomputation. The methods also cover the log-gamma function $\log \Gamma(z)$, the digamma function $\psi(z)$, and derivatives $\Gamma^{(n)}(z)$ and $\psi^{(n)}(z)$. Besides attempting to summarize the existing state of the art, we present some new formulas, estimates, bounds and algorithmic improvements and discuss implementation results.
Fichier principal
Vignette du fichier
gamma.pdf (758.67 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03346642 , version 1 (16-09-2021)




Fredrik Johansson. Arbitrary-precision computation of the gamma function. Maple Transactions, 2023, 3 (1), ⟨10.5206/mt.v3i1.14591⟩. ⟨hal-03346642⟩
593 View
727 Download



Gmail Mastodon Facebook X LinkedIn More