FLINT3.7.0-dev

nfloat_write, nfloat_randtest

Synopsis#include <flint/nfloat.h>
int nfloat_write(gr_stream_t out, nfloat_srcptr x, gr_ctx_t ctx)source
int nfloat_randtest(nfloat_ptr res, flint_rand_t state, gr_ctx_t ctx)source

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