FLINT3.7.0-dev

_flint_mpn_mulhigh_n_basecase2, _flint_mpn_sqrhigh_basecase_even, _flint_mpn_sqrhigh_basecase_odd

Synopsis#include <flint/mpn_extras.h>
mp_limb_t _flint_mpn_mulhigh_n_basecase2(mp_ptr rp, mp_srcptr xp, mp_srcptr yp, mp_size_t n)
mp_limb_t _flint_mpn_sqrhigh_basecase_even(mp_ptr rp, mp_srcptr xp, mp_size_t n)source
mp_limb_t _flint_mpn_sqrhigh_basecase_odd(mp_ptr rp, mp_srcptr xp, mp_size_t n)source

The basecase high product used by _flint_mpn_mulhigh_n (_flint_mpn_mulhigh_n_recursive up to 22 limbs and _flint_mpn_mulhigh_basecase above on x86-64 with ADX), and the two assembly halves of _flint_mpn_sqrhigh_basecase on x86-64 with ADX, for inputs of 2n and 2n + 1 limbs.

Cite this page

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