FLINT3.7.0-dev

mag_add, mag_add_ui

Synopsis#include <flint/mag.h>
void mag_add(mag_t res, const mag_t x, const mag_t y)source
void mag_add_ui(mag_t res, const mag_t x, ulong y)source

Set res to an upper bound for x + y.

Guides#

Cite this page

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