FLINT3.7.0-dev

padic_set_mpz, padic_set_mpq

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

Set rop to the GMP integer or rational op. These are declared only if gmp.h is included before padic.h.

Cite this page

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