_flint_mpn_mulhigh_known_low
Synopsis
#include <flint/mpn_extras.h>void _flint_mpn_mulhigh_known_low(mp_ptr out, mp_srcptr x, mp_size_t xn, mp_srcptr y, mp_size_t yn, mp_srcptr kl, mp_size_t kl_len, mp_size_t klo, mp_size_t khi, mp_ptr scratch)sourceSets to the exact limbs of the product , given that its low limbs are known and equal to (zero above kl_len). The window is computed from a windowed middle product starting three guard limbs below , whose deficit is less than units of its lowest limb, and the known low limbs tell which carry was lost. scratch must have room for limbs. This is used by Hensel division and the 2-adic square root, where the low part of a product is known in advance.
Cite this page
The FLINT team, “_flint_mpn_mulhigh_known_low (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_known_low.html (generated 2026-11-02).
@misc{flint-doc-mpn-extras-flint-mpn-mulhigh-known-low,
author = {{The FLINT team}},
title = {{\_flint\_mpn\_mulhigh\_known\_low (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_mulhigh_known_low.html},
note = {Generated 2026-11-02}
}