zz_struct, zz_ptr, zz_srcptr
Synopsis
#include <flint/fmpz.h>zz_structzz_ptrzz_srcptrA 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).
@misc{flint-doc-fmpz-zz-struct,
author = {{The FLINT team}},
title = {{zz\_struct, zz\_ptr, zz\_srcptr (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/zz_struct.html},
note = {Generated 2026-10-20}
}