flint_mpn_binv
Synopsis
#include <flint/mpn_extras.h>void flint_mpn_binv(mp_ptr res, mp_srcptr x, mp_size_t xn, mp_size_t n)sourceSets (\mathit{res}, n) to x^{-1} \bmod B^n, for odd x. Newton iteration on middle products; up to FLINT_MPN_BINV_MULLOW_CUTOFF limbs full low products are used instead, and the cases n \le 3 are inlined.
Cite this page
The FLINT team, “flint_mpn_binv (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/flint_mpn_binv.html (generated 2026-10-20).
@misc{flint-doc-mpn-extras-flint-mpn-binv,
author = {{The FLINT team}},
title = {{flint\_mpn\_binv (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_binv.html},
note = {Generated 2026-10-20}
}