FLINT3.7.0-dev

fmpz_adiv_q_2exp

Synopsis#include <flint/fmpz_extras.h>
void fmpz_adiv_q_2exp(fmpz_t z, const fmpz_t x, flint_bitcnt_t exp)source

Sets z to x / 2^{\mathit{exp}} rounded away from zero.

Cite this page

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