FLINT3.7.0-dev

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)source
slong mpoly_words_per_exp_mp(flint_bitcnt_t bits, const mpoly_ctx_t mctx)source
slong mpoly_words_per_exp(flint_bitcnt_t bits, const mpoly_ctx_t mctx)source

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