FLINT3.7.0-dev

arb_set_fmpq

Synopsis#include <flint/arb.h>
void arb_set_fmpq(arb_t y, const fmpq_t x, slong prec)source

Sets y to a ball containing the rational number x, with the midpoint rounded to prec bits.

Guides#

Cite this page

The FLINT team, “arb_set_fmpq (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_set_fmpq.html (generated 2026-10-20).