FLINT3.7.0-dev

nfloat_set_str

Synopsis#include <flint/nfloat.h>
int nfloat_set_str(nfloat_ptr res, const char * x, gr_ctx_t ctx)source

Parses a decimal number with arb_set_str and rounds it to nearest (this ignores directed rounding); other expressions are parsed with the generic string parser of the gr interface.

Guides#

Cite this page

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