CA_EXT_HEAD, CA_EXT_HASH, CA_EXT_DEPTH
Synopsis
#include <flint/ca_ext.h>CA_EXT_HEAD(x)sourceCA_EXT_HASH(x)sourceCA_EXT_DEPTH(x)sourceAccess 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).
@misc{flint-doc-ca-ext-CA-EXT-HEAD,
author = {{The FLINT team}},
title = {{CA\_EXT\_HEAD, CA\_EXT\_HASH, CA\_EXT\_DEPTH (ca\_ext.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ca_ext/CA_EXT_HEAD.html},
note = {Generated 2026-10-20}
}