FLINT3.7.0-dev

padic_get_mpz, padic_get_mpq

Synopsis#include <flint/padic.h>
void padic_get_mpz(mpz_t rop, const padic_t op, const padic_ctx_t ctx)source
void padic_get_mpq(mpq_t rop, const padic_t op, const padic_ctx_t ctx)source

GMP versions of padic_get_fmpz (which throws if v < 0) and padic_get_fmpq. Declared only if gmp.h is included before padic.h.

Cite this page

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