FLINT3.7.0-dev

zz_struct, zz_ptr, zz_srcptr

Synopsis#include <flint/fmpz.h>
zz_struct
zz_ptr
zz_srcptr

A structure with the same layout as GMP's mpz_struct, declared in fmpz_types.h: the fields are alloc (the number of allocated limbs), size (the number of limbs in use, negated for a negative value) and ptr (the limbs, least significant first). It lets FLINT's headers access the limbs of a large fmpz without including gmp.h.

Guides#

Cite this page

The FLINT team, “zz_struct, zz_ptr, zz_srcptr (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/zz_struct.html (generated 2026-10-20).