FLINT3.7.0-dev

fmpz_mat_max_bits

Synopsis#include <flint/fmpz_mat.h>
slong fmpz_mat_max_bits(const fmpz_mat_t mat)source

Returns \pm b where b is the largest bit length of the absolute value of an entry of mat, with a negative sign if some entry is negative. Returns 0 for an empty or zero matrix.

Cite this page

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