FLINT3.7.0-dev

_nf_elem_mod_fmpz

Synopsis#include <flint/nf_elem.h>
void _nf_elem_mod_fmpz(nf_elem_t res, const nf_elem_t a, const fmpz_t mod, const nf_t nf, int sign)source

Sets res to the integral element whose coefficients are those of the numerator of a reduced modulo m = mod, ignoring the denominator, in [0, m) if sign is zero and in the symmetric range otherwise.

Cite this page

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