NMOD2_RED2
Synopsis
#include <flint/nmod.h>NMOD2_RED2(r, a_hi, a_lo, mod)sourceSets r to (a_{hi} B + a_{lo}) \bmod n with no restriction on a_{hi}. It reduces a_{hi} first, so it costs two division steps.
Cite this page
The FLINT team, “NMOD2_RED2 (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/NMOD2_RED2.html (generated 2026-10-20).
@misc{flint-doc-nmod-NMOD2-RED2,
author = {{The FLINT team}},
title = {{NMOD2\_RED2 (nmod.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod/NMOD2_RED2.html},
note = {Generated 2026-10-20}
}