FLINT3.7.0-dev

_fmpz_init_readonly_mpz, _fmpz_clear_readonly_mpz

Synopsis#include <flint/fmpz.h>
void _fmpz_init_readonly_mpz(fmpz_t f, const mpz_t z)source
void _fmpz_clear_readonly_mpz(mpz_t z)source

Helpers of the read-only conversions: wrap the mpz z in a fresh mpz slot of f, respectively release the mpz of such an f when its value is small.

Cite this page

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