FLINT3.7.0-dev

arb_set_round_fmpz, arb_set_round_fmpz_2exp

Synopsis#include <flint/arb.h>
void arb_set_round_fmpz(arb_t y, const fmpz_t x, slong prec)source
void arb_set_round_fmpz_2exp(arb_t y, const fmpz_t x, const fmpz_t exp, slong prec)source

Set y to a ball containing x, respectively x \cdot 2^{\mathit{exp}}, with the midpoint rounded to prec bits.

Cite this page

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