mpoly_exp_bits_required_ui, mpoly_exp_bits_required_ffmpz, mpoly_exp_bits_required_pfmpz
Synopsis
#include <flint/mpoly.h>flint_bitcnt_t mpoly_exp_bits_required_ui(const ulong * user_exp, const mpoly_ctx_t mctx)sourceflint_bitcnt_t mpoly_exp_bits_required_ffmpz(const fmpz * user_exp, const mpoly_ctx_t mctx)sourceflint_bitcnt_t mpoly_exp_bits_required_pfmpz(fmpz * const * user_exp, const mpoly_ctx_t mctx)sourceReturn the number of bits needed to pack the user exponent vector user_exp, including the guard bit: one more than the bit length of the largest exponent, or of the total degree for degree orderings. The result is not rounded with mpoly_fix_bits. For _ui, a total degree that overflows a word gives 2*FLINT_BITS.
Cite this page
The FLINT team, “mpoly_exp_bits_required_ui, mpoly_exp_bits_required_ffmpz, mpoly_exp_bits_required_pfmpz (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/mpoly_exp_bits_required_ui.html (generated 2026-10-20).
@misc{flint-doc-mpoly-mpoly-exp-bits-required-ui,
author = {{The FLINT team}},
title = {{mpoly\_exp\_bits\_required\_ui, mpoly\_exp\_bits\_required\_ffmpz, mpoly\_exp\_bits\_required\_pfmpz (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/mpoly_exp_bits_required_ui.html},
note = {Generated 2026-10-20}
}