FLINT3.7.0-dev

arf_printd, arf_fprintd, arf_get_str

Synopsis#include <flint/arf.h>
void arf_printd(const arf_t y, slong d)source
void arf_fprintd(FILE * file, const arf_t y, slong d)source
char * arf_get_str(const arf_t x, slong d)source

Print x in decimal with d significant digits, or return such a string (to be freed with flint_free). The decimal conversion is faithful: the error is at most one unit in the last digit.

Guides#

Cite this page

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