NMOD_DIVREM2_BOUNDED
Synopsis
#include <flint/nmod.h>NMOD_DIVREM2_BOUNDED(q, r, a_hi, a_lo, mod)sourceSets q and r to the quotient and the remainder of by , under the same conditions as NMOD_RED2_BOUNDED. The quotient is less than , and the correction is branch-free.
Cite this page
The FLINT team, “NMOD_DIVREM2_BOUNDED (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/NMOD_DIVREM2_BOUNDED.html (generated 2026-11-20).
@misc{flint-doc-nmod-NMOD-DIVREM2-BOUNDED,
author = {{The FLINT team}},
title = {{NMOD\_DIVREM2\_BOUNDED (nmod.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod/NMOD_DIVREM2_BOUNDED.html},
note = {Generated 2026-11-20}
}