flint_mpn_preinvn
Synopsis
#include <flint/mpn_extras.h>void flint_mpn_preinvn(mp_ptr dinv, mp_srcptr d, mp_size_t n)sourceSets (\mathit{dinv}, n) to the precomputed inverse \lfloor B^{2n} / (d + 1) \rfloor - B^n of the normalised n-limb integer d (zero if d = B^n - 1), for use by the preinvn functions (multiword modular multiplication).
Cite this page
The FLINT team, “flint_mpn_preinvn (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/flint_mpn_preinvn.html (generated 2026-10-20).
@misc{flint-doc-mpn-extras-flint-mpn-preinvn,
author = {{The FLINT team}},
title = {{flint\_mpn\_preinvn (mpn\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpn_extras/flint_mpn_preinvn.html},
note = {Generated 2026-10-20}
}