FLINT3.7.0-dev

fmpz_bits, fmpz_size

Synopsis#include <flint/fmpz.h>
flint_bitcnt_t fmpz_bits(const fmpz_t f)source
slong fmpz_size(const fmpz_t f)source

Return the number of bits, respectively limbs, of |f|; both are 0 for f = 0.

Guides#

Cite this page

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