FLINT3.7.0-dev

ca_cmp_repr

Synopsis#include <flint/ca.h>
int ca_cmp_repr(const ca_t x, const ca_t y, ca_ctx_t ctx)source

Compares the representations of x and y in a total order, returning -1, 0 or 1. The order is structural (it compares fields, then coefficients) and has no meaning as an order of the numbers.

Cite this page

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