FLINT3.7.0-dev

nf_elem_is_integer, nf_elem_is_rational

Synopsis#include <flint/nf_elem.h>
int nf_elem_is_integer(const nf_elem_t a, const nf_t nf)source
int nf_elem_is_rational(const nf_elem_t a, const nf_t nf)source

Return whether the canonical element a lies in \mathbb{Z}, respectively in \mathbf{Q}.

Cite this page

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