FLINT3.7.0-dev

fmpz_poly_bit_pack

Synopsis#include <flint/fmpz_poly.h>
void fmpz_poly_bit_pack(fmpz_t f, const fmpz_poly_t poly, flint_bitcnt_t bit_size)source

Sets f to \mathit{poly}(2^b) for b = bit_size, which must exceed the bit length of every coefficient plus one. The sign of f is that of the leading coefficient.

Cite this page

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