FLINT3.7.0-dev

FLINT_MPN_MUL_2X1, FLINT_MPN_MUL_2X2, FLINT_MPN_MULLOW_2X2, FLINT_MPN_MUL_3P2X2, FLINT_MPN_SQR_2X2

Synopsis#include <flint/longlong.h>
FLINT_MPN_MUL_2X1(r2, r1, r0, a1, a0, b0)source
FLINT_MPN_MUL_2X2(r3, r2, r1, r0, a1, a0, b1, b0)source
FLINT_MPN_MULLOW_2X2(r1, r0, a1, a0, b1, b0)source
FLINT_MPN_MUL_3P2X2(r2, r1, r0, a1, a0, b1, b0)source
FLINT_MPN_SQR_2X2(r3, r2, r1, r0, a1, a0)source

Products of one- and two-word operands: the full 2×12 \times 1 and 2×22 \times 2 products, the low two and the low three words of a 2×22 \times 2 product, and the square of a two-word integer. Words are listed most significant first. They are built from umul_ppmm and the additions above.

Cite this page

The FLINT team, “FLINT_MPN_MUL_2X1, FLINT_MPN_MUL_2X2, FLINT_MPN_MULLOW_2X2, FLINT_MPN_MUL_3P2X2, FLINT_MPN_SQR_2X2 (longlong.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/longlong/FLINT_MPN_MUL_2X1.html (generated 2026-11-20).