FLINT3.7.0-dev

_nmod_poly_bit_unpack

Synopsis#include <flint/nmod_poly.h>
void _nmod_poly_bit_unpack(nn_ptr res, slong nlo, slong nhi, nn_srcptr mpn, flint_bitcnt_t bits, nmod_t mod)source

Reads the bit fields \mathit{nlo}, \ldots, \mathit{nhi} - 1 of width bits from mpn, reduces them modulo n and writes them to res[0], ..., res[nhi - nlo - 1]. The fields may hold any value. Requires 1 \le \mathit{bits} < 3 \mathtt{FLINT\_BITS}.

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).