mpn_negmod_2expp1
Synopsis
#include <flint/fft.h>void mpn_negmod_2expp1(mp_limb_t * z, const mp_limb_t * a, mp_size_t limbs)sourceSets z to -a \bmod p for a reduced residue a. The result is reduced.
Cite this page
The FLINT team, “mpn_negmod_2expp1 (fft.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fft/mpn_negmod_2expp1.html (generated 2026-10-20).
@misc{flint-doc-fft-mpn-negmod-2expp1,
author = {{The FLINT team}},
title = {{mpn\_negmod\_2expp1 (fft.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fft/mpn_negmod_2expp1.html},
note = {Generated 2026-10-20}
}