nmod_poly_bit_pack
Synopsis
#include <flint/nmod_poly.h>void nmod_poly_bit_pack(fmpz_t f, const nmod_poly_t poly, flint_bitcnt_t bit_size)sourceSets f = \mathit{poly}(2^{\mathit{bit\_size}}). Every coefficient must be less than 2^{\mathit{bit\_size}}; 1 \le \mathit{bit\_size} < 3 \mathtt{FLINT\_BITS}. For bit_size = 0 or the zero polynomial, f = 0.
Cite this page
The FLINT team, “nmod_poly_bit_pack (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_pack.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-bit-pack,
author = {{The FLINT team}},
title = {{nmod\_poly\_bit\_pack (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/nmod_poly_bit_pack.html},
note = {Generated 2026-10-20}
}