acb_hypgeom_dilog_bernoulli
Synopsis
#include <flint/acb_hypgeom.h>Sets res to \operatorname{Li}_2(z) computed with the series expansion in w = \log(z), which converges like |w/(2\pi)|^n. This gives good convergence near z = e^{\pm i \pi / 3}, where the hypergeometric series fail. Since the coefficients involve Bernoulli numbers, the method is meant for moderate precision.
Cite this page
The FLINT team, “acb_hypgeom_dilog_bernoulli (acb_hypgeom.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_hypgeom/acb_hypgeom_dilog_bernoulli.html (generated 2026-10-20).
@misc{flint-doc-acb-hypgeom-acb-hypgeom-dilog-bernoulli,
author = {{The FLINT team}},
title = {{acb\_hypgeom\_dilog\_bernoulli (acb\_hypgeom.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_hypgeom/acb_hypgeom_dilog_bernoulli.html},
note = {Generated 2026-10-20}
}