flint_mpz_init_set_readonly, flint_mpz_clear_readonly
Synopsis
#include <flint/fmpz.h>void flint_mpz_clear_readonly(mpz_t z)sourceflint_mpz_init_set_readonly sets the uninitialised mpz_t z to the value of f, sharing the limbs of f if it is large; z must not be modified, f must not change while z is in use, and z is released with flint_mpz_clear_readonly.
Guides#
Cite this page
The FLINT team, “flint_mpz_init_set_readonly, flint_mpz_clear_readonly (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/flint_mpz_init_set_readonly.html (generated 2026-10-20).
@misc{flint-doc-fmpz-flint-mpz-init-set-readonly,
author = {{The FLINT team}},
title = {{flint\_mpz\_init\_set\_readonly, flint\_mpz\_clear\_readonly (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/flint_mpz_init_set_readonly.html},
note = {Generated 2026-10-20}
}