FLINT3.7.0-dev

padic_radix_get_fmpz

Synopsis#include <flint/padic_radix.h>
int padic_radix_get_fmpz(fmpz_t res, const padic_radix_t x, gr_ctx_t ctx)source

Sets res to the value of x if x is an exact integer. Returns GR_DOMAIN if v < 0 and GR_UNABLE if x is inexact or its valuation exceeds the size limit of the context.

Cite this page

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