FLINT3.7.0-dev

_radix_size_digits, radix_size_digits

Synopsis#include <flint/radix.h>
ulong _radix_size_digits(nn_srcptr x, slong n, const radix_t radix)source
ulong radix_size_digits(nn_srcptr x, slong n, const radix_t radix)source

Return the number of digits of (x,n)(x, n). The underscore version requires n>0n > 0 and xn−1≠0x_{n-1} \ne 0; the other allows n=0n = 0 and zero top limbs, which it skips, and returns 0 for zero.

Cite this page

The FLINT team, “_radix_size_digits, radix_size_digits (radix.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/radix/_radix_size_digits.html (generated 2026-11-02).