FLINT3.7.0-dev

fmpz_max, fmpz_min

Synopsis#include <flint/fmpz_extras.h>
void fmpz_max(fmpz_t z, const fmpz_t x, const fmpz_t y)source
void fmpz_min(fmpz_t z, const fmpz_t x, const fmpz_t y)source

Set z to the maximum, respectively the minimum, of x and y.

Cite this page

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