FLINT3.7.0-dev

padic_val, padic_prec

Synopsis#include <flint/padic.h>
padic_val(x)source
padic_prec(x)source

The valuation v and the precision N of x, as lvalues of type slong. Lowering the precision of a reduced element does not reduce it; call padic_reduce afterwards.

Guides#

Cite this page

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