FLINT3.7.0-dev

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_BITSsource
FEXPR_TYPE_MASKsource
FEXPR_TYPE(head)source
FEXPR_SIZE(head)source
FEXPR_HEADER_SIZEsource
FEXPR_COEFF_MAXsource
FEXPR_COEFF_MINsource
FEXPR_SMALL_SYMBOL_LENsource
FEXPR_BUILTIN_ID(head)source

Macros 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).