FLINT3.7.0-dev

arb_dump_str, arb_load_str

Synopsis#include <flint/arb.h>
char * arb_dump_str(const arb_t x)source
int arb_load_str(arb_t res, const char * data)source

arb_dump_str returns a string, to be freed with flint_free, holding the exact value of x as four hexadecimal integers (midpoint mantissa and exponent, radius mantissa and exponent, with special encodings for zero, infinities and NaN) separated by spaces. arb_load_str reads it back exactly and returns nonzero on a format error.

Cite this page

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