mpoly_words_per_exp_sp, mpoly_words_per_exp_mp, mpoly_words_per_exp
Synopsis
#include <flint/mpoly.h>slong mpoly_words_per_exp_sp(flint_bitcnt_t bits, const mpoly_ctx_t mctx)sourceslong mpoly_words_per_exp_mp(flint_bitcnt_t bits, const mpoly_ctx_t mctx)sourceslong mpoly_words_per_exp(flint_bitcnt_t bits, const mpoly_ctx_t mctx)sourceReturn the number N of words of a monomial packed with fields of bits bits. In the single precision case 1 \le \mathit{bits} \le FLINT_BITS this is \lceil \mathit{nfields} / \lfloor \text{FLINT\_BITS}/\mathit{bits} \rfloor \rceil (read from a table); in the multiprecision case bits must be a multiple of FLINT_BITS and N = \mathit{nfields} \cdot \mathit{bits} / \text{FLINT\_BITS}. The unsuffixed version dispatches on bits.
Cite this page
The FLINT team, “mpoly_words_per_exp_sp, mpoly_words_per_exp_mp, mpoly_words_per_exp (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/mpoly_words_per_exp_sp.html (generated 2026-10-20).
@misc{flint-doc-mpoly-mpoly-words-per-exp-sp,
author = {{The FLINT team}},
title = {{mpoly\_words\_per\_exp\_sp, mpoly\_words\_per\_exp\_mp, mpoly\_words\_per\_exp (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/mpoly_words_per_exp_sp.html},
note = {Generated 2026-10-20}
}