FLINT3.7.0-dev

fmpz_is_even, fmpz_is_odd

Synopsis#include <flint/fmpz.h>
int fmpz_is_even(const fmpz_t f)source
int fmpz_is_odd(const fmpz_t f)source

Return whether f is even, respectively odd.

Guides#

Cite this page

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