FEXPR_TYPE_BITS, FEXPR_TYPE_MASK, FEXPR_TYPE, FEXPR_SIZE, FEXPR_HEADER_SIZE, FEXPR_COEFF_MAX, FEXPR_COEFF_MIN, FEXPR_SMALL_SYMBOL_LEN, FEXPR_BUILTIN_ID
Synopsis
#include <flint/fexpr.h>FEXPR_TYPE_BITSsourceFEXPR_TYPE_MASKsourceFEXPR_TYPE(head)sourceFEXPR_SIZE(head)sourceFEXPR_HEADER_SIZEsourceFEXPR_COEFF_MAXsourceFEXPR_COEFF_MINsourceFEXPR_SMALL_SYMBOL_LENsourceFEXPR_BUILTIN_ID(head)sourceMacros for decoding header words: the type and the size in words of the expression with header head, the size of a header (one word), the range of integers stored in the header (about \pm 2^{\mathtt{FLINT\_BITS} - 5}), the maximum length of a symbol or string stored in the header (\mathtt{FLINT\_BITS}/8 - 1 characters), and the index of a builtin symbol stored in the header.
Cite this page
The FLINT team, “FEXPR_TYPE_BITS, FEXPR_TYPE_MASK, FEXPR_TYPE, FEXPR_SIZE, FEXPR_HEADER_SIZE, FEXPR_COEFF_MAX, FEXPR_COEFF_MIN, FEXPR_SMALL_SYMBOL_LEN, FEXPR_BUILTIN_ID (fexpr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr/FEXPR_TYPE_BITS.html (generated 2026-10-20).
@misc{flint-doc-fexpr-FEXPR-TYPE-BITS,
author = {{The FLINT team}},
title = {{FEXPR\_TYPE\_BITS, FEXPR\_TYPE\_MASK, FEXPR\_TYPE, FEXPR\_SIZE, FEXPR\_HEADER\_SIZE, FEXPR\_COEFF\_MAX, FEXPR\_COEFF\_MIN, FEXPR\_SMALL\_SYMBOL\_LEN, FEXPR\_BUILTIN\_ID (fexpr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fexpr/FEXPR_TYPE_BITS.html},
note = {Generated 2026-10-20}
}