FLINT3.7.0-dev

mpn_mod_get_fmpz

Synopsis#include <flint/mpn_mod.h>
int mpn_mod_get_fmpz(fmpz_t res, nn_srcptr x, gr_ctx_t ctx)source

Sets res to the integer in [0, n) represented by x.

Guides#

Cite this page

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