FLINT3.7.0-dev

fexpr_size, fexpr_size_bytes, fexpr_allocated_bytes

Synopsis#include <flint/fexpr.h>
slong fexpr_size(const fexpr_t expr)source
slong fexpr_size_bytes(const fexpr_t expr)source
slong fexpr_allocated_bytes(const fexpr_t expr)source

Returns the size of expr in words or in bytes, or the number of bytes allocated for it. The counts exclude the structure itself; add sizeof(fexpr_struct) for the size of the whole object.

Cite this page

The FLINT team, “fexpr_size, fexpr_size_bytes, fexpr_allocated_bytes (fexpr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr/fexpr_size.html (generated 2026-10-20).