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)sourcetruth_t nfloat_is_one(nfloat_srcptr x, gr_ctx_t ctx)sourcetruth_t nfloat_is_neg_one(nfloat_srcptr x, gr_ctx_t ctx)sourceReturn 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).
@misc{flint-doc-nfloat-nfloat-is-zero,
author = {{The FLINT team}},
title = {{nfloat\_is\_zero, nfloat\_is\_one, nfloat\_is\_neg\_one (nfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nfloat/nfloat_is_zero.html},
note = {Generated 2026-10-20}
}