_fmpz_poly_bit_unpack, _fmpz_poly_bit_unpack_unsigned
Synopsis
#include <flint/fmpz_poly.h>int _fmpz_poly_bit_unpack(fmpz * poly, slong nlo, slong nhi, nn_srcptr arr, flint_bitcnt_t bit_size, int negate)sourcevoid _fmpz_poly_bit_unpack_unsigned(fmpz * poly, slong nlo, slong nhi, nn_srcptr arr, flint_bitcnt_t bit_size)sourceUnpack the signed (respectively unsigned) coefficients in the fields \mathit{nlo}, \ldots, \mathit{nhi} - 1 of bit_size bits of arr, written by _fmpz_poly_bit_pack, to poly[0], ..., poly[nhi - nlo - 1], negating them if negate is -1. The signed version returns the final borrow: if it is nonzero, a coefficient \pm 1 (with the sign given by negate) has to be added at index nhi.
Cite this page
The FLINT team, “_fmpz_poly_bit_unpack, _fmpz_poly_bit_unpack_unsigned (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_unpack.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-bit-unpack,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_bit\_unpack, \_fmpz\_poly\_bit\_unpack\_unsigned (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/_fmpz_poly_bit_unpack.html},
note = {Generated 2026-10-20}
}