acb_dirichlet_l_fmpq, acb_dirichlet_l_fmpq_afe
Synopsis
#include <flint/acb_dirichlet.h>void acb_dirichlet_l_fmpq(acb_t res, const fmpq_t s, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)sourcevoid acb_dirichlet_l_fmpq_afe(acb_t res, const fmpq_t s, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)sourceSet res to L(s,\chi) for rational s. The afe version uses the approximate functional equation, a rapidly convergent series of incomplete gamma functions (evaluated by binary splitting and the bit-burst algorithm), which is fastest at very high precision or large modulus; the default version uses it when this is estimated to be faster and otherwise calls acb_dirichlet_l.
Cite this page
The FLINT team, “acb_dirichlet_l_fmpq, acb_dirichlet_l_fmpq_afe (acb_dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_dirichlet/acb_dirichlet_l_fmpq.html (generated 2026-10-20).
@misc{flint-doc-acb-dirichlet-acb-dirichlet-l-fmpq,
author = {{The FLINT team}},
title = {{acb\_dirichlet\_l\_fmpq, acb\_dirichlet\_l\_fmpq\_afe (acb\_dirichlet.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_dirichlet/acb_dirichlet_l_fmpq.html},
note = {Generated 2026-10-20}
}