FLINT3.7.0-dev

gr_test_cmp_fun

Synopsis#include <flint/gr.h>
int gr_test_cmp_fun(gr_ctx_t R, gr_method_binary_op_get_int op, gr_ctx_t R_ref, flint_rand_t state, int test_flags)source

Compares the comparison function op (such as gr_cmp) on random elements of R with the same function on the elements converted to the reference ring R_ref.

Cite this page

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