fmpzi_mul, fmpzi_sqr
Synopsis
#include <flint/fmpzi.h>Single-word operands use two-word products. When all four parts are multiword, the product is computed by flint_mpn_mul_complex (or flint_mpn_sqr_complex), which uses three real multiplications in the Karatsuba manner or a joint transform for large operands; otherwise four fmpz multiplications are used (two for squaring, with special cases for purely real or imaginary input).
Cite this page
The FLINT team, “fmpzi_mul, fmpzi_sqr (fmpzi.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpzi/fmpzi_mul.html (generated 2026-10-20).
@misc{flint-doc-fmpzi-fmpzi-mul,
author = {{The FLINT team}},
title = {{fmpzi\_mul, fmpzi\_sqr (fmpzi.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpzi/fmpzi_mul.html},
note = {Generated 2026-10-20}
}