padic_ctx_struct, padic_ctx_t
Synopsis
#include <flint/padic.h>padic_ctx_structpadic_ctx_tA context for \mathbf{Q}_p. The fields are p (an fmpz_t), pinv (a double approximation of 1/p, used when p fits in a word), the table pow with pow[i] = p^{\mathtt{min} + i} for 0 \le i < \mathtt{max} - \mathtt{min}, the bounds min and max, and mode, the printing mode, which may be changed at any time.
Guides#
Cite this page
The FLINT team, “padic_ctx_struct, padic_ctx_t (padic.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic/padic_ctx_struct.html (generated 2026-10-20).
@misc{flint-doc-padic-padic-ctx-struct,
author = {{The FLINT team}},
title = {{padic\_ctx\_struct, padic\_ctx\_t (padic.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic/padic_ctx_struct.html},
note = {Generated 2026-10-20}
}