flint_mpn_mul_2
Synopsis
#include <flint/mpn_extras.h>mp_limb_t flint_mpn_mul_2(mp_ptr rp, mp_srcptr ap, mp_size_t n, mp_srcptr bp)sourceSets (\mathit{rp}, n + 2) to the product of (\mathit{ap}, n) and the two-limb (\mathit{bp}, 2) and returns the top limb. Only available on ARM64 (FLINT_HAVE_NATIVE_mpn_mul_2), where it is an assembly routine used by flint_mpn_mul.
Cite this page
The FLINT team, “flint_mpn_mul_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_mul_2.html (generated 2026-10-20).
@misc{flint-doc-mpn-extras-flint-mpn-mul-2,
author = {{The FLINT team}},
title = {{flint\_mpn\_mul\_2 (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_mul_2.html},
note = {Generated 2026-10-20}
}