gr_ctx_init_padic_radix
Synopsis
#include <flint/padic_radix.h>Initialises ctx for \mathbf{Q}_p with default relative precision prec_rel and absolute precision prec_abs, either of which may be PADIC_RADIX_PREC_INF, and the given combination of the flags below. Negative relative precisions are raised to 0, and finite precisions are clamped to \pmPADIC_RADIX_ERR_MAX. That p is prime is only checked in builds with assertions. Returns GR_SUCCESS. The context is a field in the sense of gr_ctx_is_field, and is exact if and only if both precisions are infinite.
Guides#
Cite this page
The FLINT team, “gr_ctx_init_padic_radix (padic_radix.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic_radix/gr_ctx_init_padic_radix.html (generated 2026-10-20).
@misc{flint-doc-padic-radix-gr-ctx-init-padic-radix,
author = {{The FLINT team}},
title = {{gr\_ctx\_init\_padic\_radix (padic\_radix.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic_radix/gr_ctx_init_padic_radix.html},
note = {Generated 2026-10-20}
}