arb_pow_ui, arb_pow_fmpz, arb_pow_fmpz_binexp, arb_ui_pow_ui, arb_si_pow_ui
Synopsis
#include <flint/arb.h>Set y to b^e by binary exponentiation, with an initial inversion if e < 0. With exact b and e \ge 0, prec may be ARF_PREC_EXACT to get the exact power if it fits in memory.
The cost grows with the size of e; for huge exponents, arb_pow (which uses \exp(e \log b)) can be much faster.
Cite this page
The FLINT team, “arb_pow_ui, arb_pow_fmpz, arb_pow_fmpz_binexp, arb_ui_pow_ui, arb_si_pow_ui (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_pow_ui.html (generated 2026-10-20).
@misc{flint-doc-arb-arb-pow-ui,
author = {{The FLINT team}},
title = {{arb\_pow\_ui, arb\_pow\_fmpz, arb\_pow\_fmpz\_binexp, arb\_ui\_pow\_ui, arb\_si\_pow\_ui (arb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb/arb_pow_ui.html},
note = {Generated 2026-10-20}
}