nfloat_write, nfloat_randtest
Synopsis
#include <flint/nfloat.h>int nfloat_write(gr_stream_t out, nfloat_srcptr x, gr_ctx_t ctx)sourceint nfloat_randtest(nfloat_ptr res, flint_rand_t state, gr_ctx_t ctx)sourceWrite x in decimal as the arf_t ring of the same precision does, and set res to a random element (from arf_randtest) for testing.
Cite this page
The FLINT team, “nfloat_write, nfloat_randtest (nfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nfloat/nfloat_write.html (generated 2026-10-20).
@misc{flint-doc-nfloat-nfloat-write,
author = {{The FLINT team}},
title = {{nfloat\_write, nfloat\_randtest (nfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nfloat/nfloat_write.html},
note = {Generated 2026-10-20}
}