FLINT3.7.0-dev

arb_exp

Synopsis#include <flint/arb.h>
void arb_exp(arb_t z, const arb_t x, slong prec)source

Sets z to e^x.

For x = [m \pm r], the midpoint is e^m computed with arb_exp_arf and the propagated error is bounded by e^m (e^r - 1), evaluated with mag_expm1; wide balls are evaluated at the endpoints. If the input is inexact, e^m is computed only to about the accuracy of the input plus 30 bits. If |m| > 2^{\max(128, 2\,\mathit{prec})}, the result is [0 \pm \infty] for positive m and a tiny ball near 0 for negative m, so that the cost stays polynomial in prec.

Guides#

Cite this page

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