ca_get_decimal_str
Synopsis
#include <flint/ca.h>Returns a decimal approximation of x with up to digits significant digits, as computed by ca_get_acb (or ca_get_acb_accurate_parts if flags is 1), correct to within one unit in the last digit. Fewer digits are returned if the evaluation does not reach the requested accuracy, and the string "?" if x is not a number or no finite enclosure is obtained. The caller must free the string with flint_free.
Guides#
Cite this page
The FLINT team, “ca_get_decimal_str (ca.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca/ca_get_decimal_str.html (generated 2026-10-20).
@misc{flint-doc-ca-ca-get-decimal-str,
author = {{The FLINT team}},
title = {{ca\_get\_decimal\_str (ca.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ca/ca_get_decimal_str.html},
note = {Generated 2026-10-20}
}