FLINT3.7.0-dev

fq_nmod_get_fmpz

Synopsis#include <flint/fq_nmod.h>
int fq_nmod_get_fmpz(fmpz_t a, const fq_nmod_t b, const fq_nmod_ctx_t ctx)source

If b lies in \mathbb{F}_p, sets a to its representative in [0, p) and returns 1; otherwise returns 0.

Cite this page

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