FLINT3.7.0-dev

nmod_poly_bit_unpack

Synopsis#include <flint/nmod_poly.h>
void nmod_poly_bit_unpack(nmod_poly_t poly, const fmpz_t f, flint_bitcnt_t bit_size)source

Sets poly to the polynomial whose coefficients are the bit fields of width bit_size of f \ge 0, reduced modulo n; the inverse of nmod_poly_bit_pack for reduced coefficients. Throws FLINT_ERROR for f < 0. For bit_size = 0 the result is 0.

Cite this page

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