FLINT3.7.0-dev

_padic_radix_finalize

Synopsis#include <flint/padic_radix.h>
int _padic_radix_finalize(padic_radix_t res, gr_ctx_t ctx)source

Canonicalises a freshly computed element (moving factors of p from the unit to the valuation), enforces the representability bounds of PADIC_RADIX_ERR_MAX and truncates to the context precision. Returns GR_UNABLE if the valuation or precision cannot be represented.

Cite this page

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