FLINT3.7.0-dev

acb_lgamma

Synopsis#include <flint/acb.h>
void acb_lgamma(acb_t y, const acb_t x, slong prec)source

Sets y to \log \Gamma(x), an alias of acb_hypgeom_lgamma.

The branch cut is on the negative real axis, so that \log \Gamma(z) + \log z = \log \Gamma(z + 1) holds for all z, whereas \log \Gamma(z) \ne \log(\Gamma(z)) in general. In the left half plane, the reflection formula is evaluated with the correct branch structure via acb_log_sin_pi.

Guides#

Cite this page

The FLINT team, “acb_lgamma (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_lgamma.html (generated 2026-10-20).