FLINT3.7.0-dev

NMOD_RED2_FULLWORD, NMOD_RED2_NONFULLWORD

Synopsis#include <flint/nmod.h>
NMOD_RED2_FULLWORD(r, a_hi, a_lo, mod)source
NMOD_RED2_NONFULLWORD(r, a_hi, a_lo, mod)source

Versions of NMOD_RED2 without the test on mod.norm. NMOD_RED2_FULLWORD requires mod.norm = 0 (the top bit of n is set) and NMOD_RED2_NONFULLWORD requires mod.norm > 0. Both require a_{hi} < n.

Cite this page

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