FLINT3.7.0-dev

nmod_redc_fast_mul_two

Synopsis#include <flint/nmod.h>
ulong nmod_redc_fast_mul_two(ulong x, const nmod_redc_ctx_t ctx)source

Returns a lazy residue in [0, 2n) congruent to 2x, for x \in [0, 2n).

Cite this page

The FLINT team, “nmod_redc_fast_mul_two (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/nmod_redc_fast_mul_two.html (generated 2026-10-20).