nmod_redc_fast_neg, nmod_redc_fast_add, nmod_redc_fast_sub, nmod_redc_fast_mul
Synopsis
#include <flint/nmod.h>ulong nmod_redc_fast_neg(ulong x, const nmod_redc_ctx_t ctx)sourceulong nmod_redc_fast_add(ulong x, ulong y, const nmod_redc_ctx_t ctx)sourceulong nmod_redc_fast_sub(ulong x, ulong y, const nmod_redc_ctx_t ctx)sourceulong nmod_redc_fast_mul(ulong x, ulong y, const nmod_redc_ctx_t ctx)sourceThe same operations on lazy residues: inputs and output are in [0, 2n). Require n < 2^{\mathtt{FLINT\_BITS} - 2}.
Guides#
Cite this page
The FLINT team, “nmod_redc_fast_neg, nmod_redc_fast_add, nmod_redc_fast_sub, nmod_redc_fast_mul (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/nmod_redc_fast_neg.html (generated 2026-10-20).
@misc{flint-doc-nmod-nmod-redc-fast-neg,
author = {{The FLINT team}},
title = {{nmod\_redc\_fast\_neg, nmod\_redc\_fast\_add, nmod\_redc\_fast\_sub, nmod\_redc\_fast\_mul (nmod.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod/nmod_redc_fast_neg.html},
note = {Generated 2026-10-20}
}