FLINT3.7.0-dev

gr_min, gr_max

Synopsis#include <flint/gr.h>
int gr_min(gr_ptr res, gr_srcptr x, gr_srcptr y, gr_ctx_t ctx)source
int gr_max(gr_ptr res, gr_srcptr x, gr_srcptr y, gr_ctx_t ctx)source

Set res to the minimum or maximum of x and y. Ball arithmetic returns a ball enclosing the minimum or maximum of all points in the input balls.

Cite this page

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