FLINT3.7.0-dev

nfloat_init, nfloat_clear

Synopsis#include <flint/nfloat.h>
void nfloat_init(nfloat_ptr res, gr_ctx_t ctx)source
void nfloat_clear(nfloat_ptr res, gr_ctx_t ctx)source

Initialise res to zero, and clear it. Since elements own no memory, clearing does nothing.

Cite this page

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