fmpz_init_set_readonly, fmpz_clear_readonly
Synopsis
#include <flint/fmpz.h>fmpz_init_set_readonly sets the uninitialised fmpz_t f to the value of z, sharing the limbs of z if the value is large; f must not be modified, z must not change while f is in use, and f is released with fmpz_clear_readonly.
Guides#
Cite this page
The FLINT team, “fmpz_init_set_readonly, fmpz_clear_readonly (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/fmpz_init_set_readonly.html (generated 2026-10-20).
@misc{flint-doc-fmpz-fmpz-init-set-readonly,
author = {{The FLINT team}},
title = {{fmpz\_init\_set\_readonly, fmpz\_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/fmpz_init_set_readonly.html},
note = {Generated 2026-10-20}
}