FLINT3.7.0-dev

nmod_t

Synopsis#include <flint/nmod.h>
nmod_t

A modulus n with precomputed data, set up by nmod_init. The fields are n (the modulus), norm (the number of leading zero bits of n) and ninv (the value n_preinvert_limb(n) used for Möller–Granlund division). An nmod_t is a small struct and is passed by value.

Guides#

Cite this page

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