FLINT3.7.0-dev

_arb_exp_taylor_naive, _arb_exp_taylor_rs

Synopsis#include <flint/arb.h>
void _arb_exp_taylor_naive(nn_ptr y, ulong * error, nn_srcptr x, slong xn, ulong N)source
void _arb_exp_taylor_rs(nn_ptr y, ulong * error, nn_srcptr x, slong xn, ulong N)source

Set y \approx \sum_{k=0}^{N-1} x^k/k! and write an error bound in ulps to error; y has xn fractional limbs and one integer limb. The naive version uses the forward recurrence, the rs version rectangular splitting with a table of reciprocal factorials, avoiding divisions. Require N \le 287, 0 \le x \le 1/16 and \mathit{xn} > 0.

Cite this page

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