_decmag_get_str, _decmag_write, _decmag_randtest, _decmag_randtest_special
Synopsis
#include <flint/decimal.h>int _decmag_write(gr_stream_t out, const decmag_t x, gr_ctx_t ctx)sourcevoid _decmag_randtest(decmag_t res, flint_rand_t state, gr_ctx_t ctx)sourcevoid _decmag_randtest_special(decmag_t res, flint_rand_t state, gr_ctx_t ctx)sourceA radius is printed with all its digits, in positional notation when its scientific exponent E satisfies -3 \le E \le 5 and in scientific notation otherwise (or always, with DECIMAL_WRITE_SCIENTIFIC).
Cite this page
The FLINT team, “_decmag_get_str, _decmag_write, _decmag_randtest, _decmag_randtest_special (decimal.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/decimal/_decmag_get_str.html (generated 2026-10-20).
@misc{flint-doc-decimal-decmag-get-str,
author = {{The FLINT team}},
title = {{\_decmag\_get\_str, \_decmag\_write, \_decmag\_randtest, \_decmag\_randtest\_special (decimal.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/decimal/_decmag_get_str.html},
note = {Generated 2026-10-20}
}