FLINT3.7.0-dev

acb_poly_set_trunc, acb_poly_set_trunc_round

Synopsis#include <flint/acb_poly.h>
void acb_poly_set_trunc(acb_poly_t dest, const acb_poly_t src, slong n)source
void acb_poly_set_trunc_round(acb_poly_t dest, const acb_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, “acb_poly_set_trunc, acb_poly_set_trunc_round (acb_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_poly/acb_poly_set_trunc.html (generated 2026-10-20).