nfloat_set_str
Synopsis
#include <flint/nfloat.h>int nfloat_set_str(nfloat_ptr res, const char * x, gr_ctx_t ctx)sourceParses 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).
@misc{flint-doc-nfloat-nfloat-set-str,
author = {{The FLINT team}},
title = {{nfloat\_set\_str (nfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nfloat/nfloat_set_str.html},
note = {Generated 2026-10-20}
}