FLINT3.7.0-dev

padic_ctx_struct, padic_ctx_t

Synopsis#include <flint/padic.h>
padic_ctx_struct
padic_ctx_t

A 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).