FLINT3.7.0-dev

mag_mul, mag_mul_ui, mag_mul_fmpz

Synopsis#include <flint/mag.h>
void mag_mul(mag_t res, const mag_t x, const mag_t y)source
void mag_mul_ui(mag_t res, const mag_t x, ulong y)source
void mag_mul_fmpz(mag_t res, const mag_t x, const fmpz_t y)source

Set res to an upper bound for xy (with |y| for the integer versions). 0 \cdot \infty gives +\infty.

Cite this page

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