FLINT3.7.0-dev

CA_EXT_HEAD, CA_EXT_HASH, CA_EXT_DEPTH

Synopsis#include <flint/ca_ext.h>
CA_EXT_HEAD(x)source
CA_EXT_HASH(x)source
CA_EXT_DEPTH(x)source

Access the head, the hash value and the depth of x. The head is CA_QQBar for an algebraic number and the function code (CA_Exp, CA_Pi, ...) for a function value. The depth is 0 for an algebraic number or a constant, and one more than the largest depth of the extension numbers involved in the arguments for a function value.

Cite this page

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