Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

Arbitrary-precision computation of the gamma function

Fredrik Johansson 1
1 LFANT - Lithe and fast algorithmic number theory
IMB - Institut de Mathématiques de Bordeaux, Inria Bordeaux - Sud-Ouest
Abstract : 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.
Complete list of metadata

https://hal.inria.fr/hal-03346642
Contributor : Fredrik Johansson Connect in order to contact the contributor
Submitted on : Thursday, September 16, 2021 - 2:48:26 PM
Last modification on : Tuesday, October 19, 2021 - 11:06:00 PM

Files

gamma.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-03346642, version 1
  • ARXIV : 2109.08392

Collections

`

Citation

Fredrik Johansson. Arbitrary-precision computation of the gamma function. 2021. ⟨hal-03346642⟩

Share

Metrics

Record views

341

Files downloads

234