FLINT3.7.0-dev

arb_trim

Synopsis#include <flint/arb.h>
void arb_trim(arb_t y, const arb_t x)source

Sets y to a ball containing x whose midpoint has only as many bits as the relative accuracy of x justifies, plus 16 guard bits. This saves memory and time when an inaccurate ball has a long midpoint. A ball with negative accuracy becomes [0 \pm (|m| + r)].

Cite this page

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