Arbitrary-precision computation of the gamma function

Authors

  • Fredrik Johansson Inria Bordeaux

DOI:

https://doi.org/10.5206/mt.v3i1.14591

Abstract

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.

Author Biography

Fredrik Johansson, Inria Bordeaux

Fredrik Johansson is a researcher at Inria Bordeaux. He has a blog: https://fredrikj.net/blog/

multicoloured arcs opening to the left; then bifurcating at the origin to arcs opening up and down symmetrically

Downloads

Published

2023-02-01 — Updated on 2023-02-02

Versions