decball_add_round, decball_sub_round, decball_mul_round, decball_div_round, decball_inv_round, decball_sqrt_round
Synopsis
#include <flint/decimal.h>int decball_add_round(decball_t res, const decball_t x, const decball_t y, slong prec, gr_ctx_t ctx)sourceint decball_sub_round(decball_t res, const decball_t x, const decball_t y, slong prec, gr_ctx_t ctx)sourceint decball_mul_round(decball_t res, const decball_t x, const decball_t y, slong prec, gr_ctx_t ctx)sourceint decball_div_round(decball_t res, const decball_t x, const decball_t y, slong prec, gr_ctx_t ctx)sourceVersions with an explicit midpoint precision.
Cite this page
The FLINT team, “decball_add_round, decball_sub_round, decball_mul_round, decball_div_round, decball_inv_round, decball_sqrt_round (decimal.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/decimal/decball_add_round.html (generated 2026-10-20).
@misc{flint-doc-decimal-decball-add-round,
author = {{The FLINT team}},
title = {{decball\_add\_round, decball\_sub\_round, decball\_mul\_round, decball\_div\_round, decball\_inv\_round, decball\_sqrt\_round (decimal.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/decimal/decball_add_round.html},
note = {Generated 2026-10-20}
}