FLINT3.7.0-dev

flint_mpn_mulmod_preinvn_2

Synopsis#include <flint/mpn_extras.h>
void flint_mpn_mulmod_preinvn_2(mp_ptr r, mp_srcptr a, mp_srcptr b, mp_srcptr d, mp_srcptr dinv, ulong norm)source

flint_mpn_mulmod_preinvn for n = 2, except that a, b and the result are not shifted: only d holds the shifted modulus.

Cite this page

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