FLINT3.7.0-dev

nmod_redc_fast_normalise

Synopsis#include <flint/nmod.h>
ulong nmod_redc_fast_normalise(ulong x, const nmod_redc_ctx_t ctx)source

Reduces a lazy residue x \in [0, 2n) to [0, n).

Guides#

Cite this page

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