FLINT3.7.0-dev

mag_min, mag_max

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

Set res to the smaller, respectively the larger, of x and y. Exact.

Cite this page

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