FLINT3.7.0-dev

mpoly_gen_pow_exp_bits_required

Synopsis#include <flint/mpoly.h>
flint_bitcnt_t mpoly_gen_pow_exp_bits_required(slong v, ulong e, const mpoly_ctx_t mctx)source

Returns the number of bits needed to pack the monomial x_v^e, that is 1 + \lceil \log_2(e + 1) \rceil.

Cite this page

The FLINT team, “mpoly_gen_pow_exp_bits_required (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/mpoly_gen_pow_exp_bits_required.html (generated 2026-10-20).