FLINT3.7.0-dev

nfloat_is_zero, nfloat_is_one, nfloat_is_neg_one

Synopsis#include <flint/nfloat.h>
truth_t nfloat_is_zero(nfloat_srcptr x, gr_ctx_t ctx)source
truth_t nfloat_is_one(nfloat_srcptr x, gr_ctx_t ctx)source
truth_t nfloat_is_neg_one(nfloat_srcptr x, gr_ctx_t ctx)source

Return whether x is 0, 1 or -1; T_UNKNOWN for NaN.

Cite this page

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