FLINT3.7.0-dev

decball_add_error_decmag, decball_add_error_10exp_si, decball_add_error_decfloat, decball_trim

Synopsis#include <flint/decimal.h>
int decball_add_error_decmag(decball_t res, const decmag_t err, gr_ctx_t ctx)source
int decball_add_error_10exp_si(decball_t res, slong e, gr_ctx_t ctx)source
int decball_add_error_decfloat(decball_t res, const decfloat_t err, gr_ctx_t ctx)source
int decball_trim(decball_t res, const decball_t x, gr_ctx_t ctx)source

Increases the radius, respectively rounds the midpoint to the number of digits justified by the radius.

Guides#

Cite this page

The FLINT team, “decball_add_error_decmag, decball_add_error_10exp_si, decball_add_error_decfloat, decball_trim (decimal.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/decimal/decball_add_error_decmag.html (generated 2026-10-20).