FLINT3.7.0-dev

FLINT_MIN, FLINT_MAX

Synopsis#include <flint/flint.h>
FLINT_MIN(x, y)source
FLINT_MAX(x, y)source

The minimum and maximum of x and y. Both should have the same type, to avoid surprises from the usual arithmetic conversions.

Guides#

Cite this page

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