calcium_func_code
#include <flint/calcium.h>calcium_func_codeAn enumeration of the mathematical functions and constants that can define an extension number in ca_ext.h: CA_QQBar (an algebraic number given by a qqbar_t), the arithmetic operations CA_Neg, CA_Add, CA_Sub, CA_Mul, CA_Div, the roots CA_Sqrt, CA_Cbrt, CA_Root, the complex parts CA_Floor, CA_Ceil, CA_Abs, CA_Sign, CA_Re, CA_Im, CA_Arg, CA_Conjugate, the constant CA_Pi, the elementary functions CA_Sin, CA_Cos, CA_Exp, CA_Log, CA_Pow, CA_Tan, CA_Cot, CA_Cosh, CA_Sinh, CA_Tanh, CA_Coth, CA_Atan, CA_Acos, CA_Asin, CA_Acot, CA_Atanh, CA_Acosh, CA_Asinh, CA_Acoth, Euler's constant CA_Euler, and the special functions CA_Gamma, CA_LogGamma, CA_Psi, CA_Erf, CA_Erfc, CA_Erfi, CA_RiemannZeta and CA_HurwitzZeta. The last enumerator, CA_FUNC_CODE_LENGTH, is the number of codes.
The enumeration is declared in ca_types.h. Only some of the codes occur in the numbers that ca.h constructs at present (CA_QQBar, CA_Sqrt, CA_Pow, CA_Exp, CA_Log, CA_Pi, CA_Euler, the complex parts, the direct trigonometric functions, CA_Gamma and the error functions); the others are reserved. The numerical order of the enumerators is part of the structural sort order of extension numbers (see ca_ext_cmp_repr).
The FLINT team, “calcium_func_code (calcium.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/calcium/calcium_func_code.html (generated 2026-10-20).
@misc{flint-doc-calcium-calcium-func-code,
author = {{The FLINT team}},
title = {{calcium\_func\_code (calcium.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/calcium/calcium_func_code.html},
note = {Generated 2026-10-20}
}