mp_real_mul_complex
Synopsis
#include <flint/mp_real.h>Both parts of the result, and both parts of each operand, are kept down to the same last limb: the precision of a complex number is that of its modulus, and an accumulation of needs its small imaginary part to the absolute precision of the frame. The product is one call to flint_mpn_mul_complex (its high half, flint_mpn_mulhigh_n_complex, for long operands), which shares the transforms of the four parts instead of making four products.
Cite this page
The FLINT team, “mp_real_mul_complex (mp_real.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mp_real/mp_real_mul_complex.html (generated 2026-11-02).
@misc{flint-doc-mp-real-mp-real-mul-complex,
author = {{The FLINT team}},
title = {{mp\_real\_mul\_complex (mp\_real.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mp_real/mp_real_mul_complex.html},
note = {Generated 2026-11-02}
}