FLINT3.7.0-dev

fmpz_get_mpz, fmpz_set_mpz

Synopsis#include <flint/fmpz.h>
void fmpz_get_mpz(mpz_t x, const fmpz_t f)source
void fmpz_set_mpz(fmpz_t f, const mpz_t x)source

Convert between fmpz_t and an initialised GMP mpz_t, copying the value. Declared only if gmp.h is included before the FLINT headers.

Guides#

Cite this page

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