FLINT3.7.0-dev

arb_poly_set_fmpz_poly, arb_poly_set_fmpq_poly

Synopsis#include <flint/arb_poly.h>
void arb_poly_set_fmpz_poly(arb_poly_t poly, const fmpz_poly_t src, slong prec)source
void arb_poly_set_fmpq_poly(arb_poly_t poly, const fmpq_poly_t src, slong prec)source

Set poly to the integer or rational polynomial src, rounding each coefficient to prec bits. Integers of at most prec bits are converted exactly.

Cite this page

The FLINT team, “arb_poly_set_fmpz_poly, arb_poly_set_fmpq_poly (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_fmpz_poly.html (generated 2026-10-20).