English

Computing the Barnes $G$-function and the gamma function in the entire complex plane

Numerical Analysis 2022-04-13 v2 Numerical Analysis

Abstract

We present an algorithm for generating approximations for the logarithm of Barnes GG-function in the half-plane Re(z)3/2Re(z)\ge 3/2. These approximations involve only elementary functions and are easy to implement. The algorithm is based on a two-point Pad\'e approximation and we use it to provide two approximations to ln(G(z))\ln(G(z)), accurate to 3×10163 \times 10^{-16} and 3×10313 \times 10^{-31} in the half-plane Re(z)3/2Re(z)\ge 3/2; a reflection formula is then used to compute Barnes GG-function in the entire complex plane. A by-product of our algorithm is that it also produces accurate approximations to the gamma function.

Keywords

Cite

@article{arxiv.2109.12061,
  title  = {Computing the Barnes $G$-function and the gamma function in the entire complex plane},
  author = {Alexey Kuznetsov},
  journal= {arXiv preprint arXiv:2109.12061},
  year   = {2022}
}
R2 v1 2026-06-24T06:18:11.397Z