This commit is contained in:
Fredrik Johansson 2015-07-21 15:10:23 +02:00
parent 7b6828df42
commit b24d5d482d

View file

@ -288,7 +288,7 @@ Powers and logarithms
.. function:: void mag_root(mag_t z, const mag_t x, ulong n)
Sets *z* to an upper bound for `x^{1/n}`.
We evaluate `\exp(\log(1+2^{kn}x)/n) 2^{-n}`, where *k* is chosen
We evaluate `\exp(\log(1+2^{kn}x)/n) 2^{-k}`, where *k* is chosen
so that `2^{kn}x \approx 2^{30}`.
.. function:: void mag_log1p(mag_t z, const mag_t x)