FLINT3.7.0-dev

arb_exp_arf_log_reduction

Synopsis#include <flint/arb.h>
void arb_exp_arf_log_reduction(arb_t res, const arf_t x, slong prec, int minus_one)source

Computes e^x (or e^x - 1) by reduction with logarithms of small primes [HJ2024]: finds integers c_i with r = x - \sum c_i \log p_i small, evaluates e^r and multiplies by \prod p_i^{c_i}.

References#

  • [HJ2024] J. van der Hoeven and F. Johansson, "Fast multiple precision exp(x) with precomputations", 2024 IEEE 31st Symposium on Computer Arithmetic (ARITH) (2024), https://hal.science/hal-04454093
Cite this page

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