From 1959ebe69930225fead0644f296b2537c27c26b0 Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Tue, 4 Mar 2014 12:55:38 +0100 Subject: [PATCH] typo --- doc/source/elefun.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/elefun.rst b/doc/source/elefun.rst index ef3862a6..79f071fd 100644 --- a/doc/source/elefun.rst +++ b/doc/source/elefun.rst @@ -121,7 +121,7 @@ The exponential function .. function:: void elefun_exp_sum_bs_powtab(fmpz_t T, fmpz_t Q, mp_bitcnt_t * Qexp, const fmpz_t x, mp_bitcnt_t r, long N) Computes *T*, *Q* and *Qexp* such that - `T / (Q 2^{\text{Qexp}}) = \sum_{k=1}^N (x/2^r)/k!` using binary splitting. + `T / (Q 2^{\text{Qexp}}) = \sum_{k=1}^N (x/2^r)^k/k!` using binary splitting. Note that the sum is taken to *N* inclusive and omits the constant term. The *powtab* version precomputes a table of powers of *x*,