FLINT3.7.0-dev

_acb_dirichlet_get_small_fmpq

Synopsis#include <flint/acb_dirichlet.h>
int _acb_dirichlet_get_small_fmpq(fmpq_t x, const acb_t s)source

If ss is an exact real number equal to a rational number with numerator of at most 40 bits and denominator of at most 20 bits (i.e. a dyadic number m2−em 2^{-e} with e≤20e \le 20), sets xx to it and returns 1; otherwise returns 0.

Cite this page

The FLINT team, “_acb_dirichlet_get_small_fmpq (acb_dirichlet.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_dirichlet/_acb_dirichlet_get_small_fmpq.html (generated 2026-11-02).