FLINT3.7.0-dev

arf_get_fmpz_fixed_fmpz, arf_get_fmpz_fixed_si

Synopsis#include <flint/arf.h>
int arf_get_fmpz_fixed_fmpz(fmpz_t y, const arf_t x, const fmpz_t e)source
int arf_get_fmpz_fixed_si(fmpz_t y, const arf_t x, slong e)source

Set y to the integer \operatorname{trunc}(x / 2^e), so that y \cdot 2^e is x truncated towards zero to a multiple of 2^e, and return 1 if truncation occurred. The size caveats of arf_get_fmpz apply.

Cite this page

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