FLINT3.7.0-dev

flint_mpn_copyi, flint_mpn_copyd

Synopsis#include <flint/mpn_extras.h>
void flint_mpn_copyi(mp_ptr xp, mp_srcptr yp, mp_size_t n)source
void flint_mpn_copyd(mp_ptr xp, mp_srcptr yp, mp_size_t n)source

Copy the n limbs of yp to xp, in increasing respectively decreasing order of addresses. The arrays may overlap if xp \le yp (for flint_mpn_copyi) or xp \ge yp (for flint_mpn_copyd).

Cite this page

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