FLINT3.7.0-dev

arb_poly_set_trunc, arb_poly_set_trunc_round

Synopsis#include <flint/arb_poly.h>
void arb_poly_set_trunc(arb_poly_t dest, const arb_poly_t src, slong n)source
void arb_poly_set_trunc_round(arb_poly_t dest, const arb_poly_t src, slong n, slong prec)source

Set dest to src truncated to length n (reduced modulo x^n), exactly or rounded to prec bits.

Cite this page

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