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)sourcevoid padic_set_mpq(padic_t rop, const mpq_t op, const padic_ctx_t ctx)sourceSet 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).
@misc{flint-doc-padic-padic-set-mpz,
author = {{The FLINT team}},
title = {{padic\_set\_mpz, padic\_set\_mpq (padic.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic/padic_set_mpz.html},
note = {Generated 2026-10-20}
}