_padic_radix_finalize
Synopsis
#include <flint/padic_radix.h>int _padic_radix_finalize(padic_radix_t res, gr_ctx_t ctx)sourceCanonicalises a freshly computed element (moving factors of 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, in which case res is set to so that further arithmetic on it stays within the representable range.
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-11-02).
@misc{flint-doc-padic-radix-padic-radix-finalize,
author = {{The FLINT team}},
title = {{\_padic\_radix\_finalize (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/_padic_radix_finalize.html},
note = {Generated 2026-11-02}
}