FLINT3.7.0-dev

_arb_digits_round_inplace

Synopsis#include <flint/arb.h>
void _arb_digits_round_inplace(char * s, flint_bitcnt_t * shift, fmpz_t error, slong n, arf_rnd_t rnd)source

Rounds the decimal digit string s to n digits in the direction rnd, in place, writing the number of removed digits to shift and the rounding error in units of the last kept digit to error. Used by the decimal conversion.

Cite this page

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