fq_bit_pack
Synopsis
#include <flint/fq.h>void fq_bit_pack(fmpz_t f, const fq_t op, flint_bitcnt_t bit_size, const fq_ctx_t ctx)sourceSets f to \sum_i a_i 2^{i \cdot \mathit{bit\_size}}, where the a_i are the coefficients of op. Each coefficient must fit in bit_size bits, that is, p \le 2^{\mathit{bit\_size}}.
Cite this page
The FLINT team, “fq_bit_pack (fq.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq/fq_bit_pack.html (generated 2026-10-20).
@misc{flint-doc-fq-fq-bit-pack,
author = {{The FLINT team}},
title = {{fq\_bit\_pack (fq.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq/fq_bit_pack.html},
note = {Generated 2026-10-20}
}