Sets res to the incomplete elliptic integral of the first kind F(ϕ,m)=∫0ϕ(1−msin2t)−1/2dt, extended by F(ϕ+dπ,m)=2dK(m)+F(ϕ,m). With times_pi nonzero, ϕ is replaced by πϕ. In particular F(π/2,m)=K(m).
F(ϕ,m)=∫0ϕ1−msin2tdt=∫0sinϕ1−t21−mt2dt.
The case m=0 returns ϕ, and the case of an exact half-integer ϕ with times_pi returns 2ϕK(m).
Cite this page
The FLINT team, “acb_elliptic_f (acb_elliptic.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_elliptic/acb_elliptic_f.html (generated 2026-11-02).
@misc{flint-doc-acb-elliptic-acb-elliptic-f,
author = {{The FLINT team}},
title = {{acb\_elliptic\_f (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_f.html},
note = {Generated 2026-11-02}
}