Arbitrary-precision computation of the gamma function
DOI:
https://doi.org/10.5206/mt.v3i1.14591Abstract
We discuss the best methods available for computing the gamma function Γ(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 Γ(z), the digamma function ψ(z), and derivatives Γ⁽ⁿ⁾(z) and ψ⁽ⁿ⁾(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.
Downloads
Published
Versions
- 2023-02-02 (2)
- 2023-02-01 (1)
Issue
Section
Categories
License
Copyright (c) 2023 Fredrik Johansson

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.