NMOD_RED2_BOUNDED
Synopsis
#include <flint/nmod.h>NMOD_RED2_BOUNDED(r, a_hi, a_lo, mod)sourceSets r to . Requires , where is the number of bits of , and : for instance a product of two residues if , or a sum of such products if . It costs one high and one low product and one correction, with the constant of NMOD_RED (Two words below a bound), and is cheaper than NMOD_RED2.
Guides#
- SIMD kernels of the element-wise operations (
nmod_vec)
Cite this page
The FLINT team, “NMOD_RED2_BOUNDED (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/NMOD_RED2_BOUNDED.html (generated 2026-11-20).
@misc{flint-doc-nmod-NMOD-RED2-BOUNDED,
author = {{The FLINT team}},
title = {{NMOD\_RED2\_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_RED2_BOUNDED.html},
note = {Generated 2026-11-20}
}