FLINT3.7.0-dev

arf_set_round_fmpz_2exp

Synopsis#include <flint/arf.h>
int arf_set_round_fmpz_2exp(arf_t y, const fmpz_t x, const fmpz_t exp, slong prec, arf_rnd_t rnd)source

Sets y to x \cdot 2^{\mathit{exp}} rounded to prec bits in the direction rnd, and returns the inexact flag.

Cite this page

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