nfloat_zero, nfloat_one, nfloat_neg_one
Synopsis
#include <flint/nfloat.h>int nfloat_zero(nfloat_ptr res, gr_ctx_t ctx)sourceint nfloat_one(nfloat_ptr res, gr_ctx_t ctx)sourceint nfloat_neg_one(nfloat_ptr res, gr_ctx_t ctx)sourceSet res to 0, 1 or -1.
Guides#
Cite this page
The FLINT team, “nfloat_zero, nfloat_one, nfloat_neg_one (nfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nfloat/nfloat_zero.html (generated 2026-10-20).
@misc{flint-doc-nfloat-nfloat-zero,
author = {{The FLINT team}},
title = {{nfloat\_zero, nfloat\_one, nfloat\_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_zero.html},
note = {Generated 2026-10-20}
}