FLINT3.7.0-dev

mag_fast_mul, mag_fast_addmul, mag_fast_add_2exp_si

Synopsis#include <flint/mag.h>
void mag_fast_mul(mag_t res, const mag_t x, const mag_t y)source
void mag_fast_addmul(mag_t z, const mag_t x, const mag_t y)source
void mag_fast_add_2exp_si(mag_t res, const mag_t x, slong e)source

Set res to an upper bound for xy, z to an upper bound for z + xy, and res to an upper bound for x + 2^e.

Cite this page

The FLINT team, “mag_fast_mul, mag_fast_addmul, mag_fast_add_2exp_si (mag.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mag/mag_fast_mul.html (generated 2026-10-20).