FLINT3.7.0-dev

ca_field_cmp

Synopsis#include <flint/ca_field.h>
int ca_field_cmp(const ca_field_t K1, const ca_field_t K2, ca_ctx_t ctx)source

Compares the fields K1 and K2 in a total structural order (number of generators, then the generators with ca_ext_cmp_repr), returning -1, 0 or 1. The order says nothing about the fields as mathematical objects.

Cite this page

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