n_ll_redc, n_ll_redc_fast
Synopsis
#include <flint/nmod.h>Return a value congruent to x R^{-1} modulo n, for a two-word x. n_ll_redc requires x < nB and returns a value in [0, n). n_ll_redc_fast requires x + (B - 1) n < B^2 and returns a value below x/B + n.
Cite this page
The FLINT team, “n_ll_redc, n_ll_redc_fast (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/n_ll_redc.html (generated 2026-10-20).
@misc{flint-doc-nmod-n-ll-redc,
author = {{The FLINT team}},
title = {{n\_ll\_redc, n\_ll\_redc\_fast (nmod.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod/n_ll_redc.html},
note = {Generated 2026-10-20}
}