fmpz_val2
Synopsis
#include <flint/fmpz.h>flint_bitcnt_t fmpz_val2(const fmpz_t x)sourceReturns the exponent of the largest power of 2 dividing x (the number of trailing zero bits), and 0 for x = 0.
Cite this page
The FLINT team, “fmpz_val2 (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/fmpz_val2.html (generated 2026-10-20).
@misc{flint-doc-fmpz-fmpz-val2,
author = {{The FLINT team}},
title = {{fmpz\_val2 (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/fmpz_val2.html},
note = {Generated 2026-10-20}
}