FLINT3.7.0-dev

d1_get_str, d2_get_str, d3_get_str, d4_get_str, d1_print, d2_print, d3_print, d4_print, d1b_get_str, d2b_get_str, d3b_get_str, d4b_get_str, d1b_print, d2b_print, d3b_print, d4b_print

Synopsis#include <flint/dfloat.h>
char * d1_get_str(d1_srcptr x, slong digits)
char * d2_get_str(d2_srcptr x, slong digits)
char * d3_get_str(d3_srcptr x, slong digits)
char * d4_get_str(d4_srcptr x, slong digits)
void d1_print(d1_srcptr x)
void d2_print(d2_srcptr x)
void d3_print(d3_srcptr x)
void d4_print(d4_srcptr x)
char * d1b_get_str(d1b_srcptr x, slong digits)
char * d2b_get_str(d2b_srcptr x, slong digits)
char * d3b_get_str(d3b_srcptr x, slong digits)
char * d4b_get_str(d4b_srcptr x, slong digits)
void d1b_print(d1b_srcptr x)
void d2b_print(d2b_srcptr x)
void d3b_print(d3b_srcptr x)
void d4b_print(d4b_srcptr x)

Convert to a decimal string with digits significant digits through arb_get_str (digits \le 0 selects \lfloor 53N \log_{10} 2 \rfloor + 1 digits), or print to standard output with the default number of digits. Balls are printed with their radius, and every form of the whole real line as [+/- inf]. The string must be freed with flint_free.

Guides#

Cite this page

The FLINT team, “d1_get_str, d2_get_str, d3_get_str, d4_get_str, d1_print, d2_print, d3_print, d4_print, d1b_get_str, d2b_get_str, d3b_get_str, d4b_get_str, d1b_print, d2b_print, d3b_print, d4b_print (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/d1_get_str.html (generated 2026-10-20).