Sets res to the incomplete elliptic integral of the third kind Π(n,ϕ,m)=∫0ϕ(1−nsin2t)−1(1−msin2t)−1/2dt, extended by Π(n,ϕ+dπ,m)=2dΠ(n,m)+Π(n,ϕ,m). With times_pi nonzero, ϕ is replaced by πϕ. In particular Π(n,π/2,m)=Π(n,m) and Π(0,ϕ,m)=F(ϕ,m).
With times_pi and a non-real ϕ, the function multiplies ϕ by π and proceeds as without the flag, because the exact argument reduction can otherwise land exactly on a branch cut of RJ.
Cite this page
The FLINT team, “acb_elliptic_pi_inc (acb_elliptic.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_elliptic/acb_elliptic_pi_inc.html (generated 2026-11-02).
@misc{flint-doc-acb-elliptic-acb-elliptic-pi-inc,
author = {{The FLINT team}},
title = {{acb\_elliptic\_pi\_inc (acb\_elliptic.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_elliptic/acb_elliptic_pi_inc.html},
note = {Generated 2026-11-02}
}