FLINT3.7.0-dev

flint_mpn_mulmid

Synopsis#include <flint/mpn_extras.h>
void flint_mpn_mulmid(mp_ptr z, mp_srcptr a, mp_size_t an, mp_srcptr b, mp_size_t bn, mp_size_t zlo, mp_size_t zhi)source

Sets (z, \mathit{zhi} - \mathit{zlo}) to the window [\mathit{zlo}, \mathit{zhi}) of ab with the contract above, choosing the fastest of the methods below for the shape. The operands may be given in either order; squaring is detected. z must not overlap the inputs.

Cite this page

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