FLINT3.7.0-dev

_gr_series_set_error

Synopsis#include <flint/gr_series.h>
void _gr_series_set_error(gr_series_t x, slong err, gr_ctx_t ctx)source

Adds an error term O(x^m) to x in place, discarding the coefficients of order m and higher. The exponent is clamped to 0 \le m \le GR_SERIES_ERR_MAX.

Cite this page

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