FLINT3.7.0-dev

mp_real_pow_ui

Synopsis#include <flint/mp_real.h>
void mp_real_pow_ui(mp_real_t res, const mp_real_t x, ulong e, slong n)source

Set res to xex^e (11 for e=0e = 0) by left-to-right binary powering, each of the at most 2log⁡2e2 \log_2 e products at precision nn; the relative radius grows about in proportion to ee.

Cite this page

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