FLINT3.7.0-dev

nfloat_zero, nfloat_one, nfloat_neg_one

Synopsis#include <flint/nfloat.h>
int nfloat_zero(nfloat_ptr res, gr_ctx_t ctx)source
int nfloat_one(nfloat_ptr res, gr_ctx_t ctx)source
int nfloat_neg_one(nfloat_ptr res, gr_ctx_t ctx)source

Set 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).