FLINT3.7.0-dev

acb_hypgeom_dilog_bernoulli

Synopsis#include <flint/acb_hypgeom.h>
void acb_hypgeom_dilog_bernoulli(acb_t res, const acb_t z, slong prec)source

Sets res to Li⁡2(z)\operatorname{Li}_2(z) computed with the series expansion in w=log⁡(z)w = \log(z), which converges like ∣w/(2π)∣n|w/(2\pi)|^n. This gives good convergence near z=e±iπ/3z = 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-11-02).