fq_nmod_bit_pack, fq_nmod_bit_unpack
Synopsis
#include <flint/fq_nmod.h>void fq_nmod_bit_pack(fmpz_t f, const fq_nmod_t op, flint_bitcnt_t bit_size, const fq_nmod_ctx_t ctx)sourcevoid fq_nmod_bit_unpack(fq_nmod_t rop, const fmpz_t f, flint_bitcnt_t bit_size, const fq_nmod_ctx_t ctx)sourcePack the coefficients of op into bit_size-bit fields of an integer, and unpack and reduce, as fq_bit_pack and fq_bit_unpack.
Cite this page
The FLINT team, “fq_nmod_bit_pack, fq_nmod_bit_unpack (fq_nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod/fq_nmod_bit_pack.html (generated 2026-10-20).
@misc{flint-doc-fq-nmod-fq-nmod-bit-pack,
author = {{The FLINT team}},
title = {{fq\_nmod\_bit\_pack, fq\_nmod\_bit\_unpack (fq\_nmod.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod/fq_nmod_bit_pack.html},
note = {Generated 2026-10-20}
}