FLINT3.7.0-dev

_qadic_exp_balanced

Synopsis#include <flint/qadic.h>
void _qadic_exp_balanced(fmpz * rop, const fmpz * x, slong v, slong len, const fmpz * a, const slong * j, slong lena, const fmpz_t p, slong N, const fmpz_t pN)source

Sets (rop, d) to the exponential of (x, v, len) modulo p^N by the balanced (bit-burst) algorithm, assuming convergence and v < N. Requires 1 \le len \le d; the input may be zero. Allows aliasing.

Cite this page

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