Clarify docstring for arb_expm1

And also fix some incorrect symbols in nearby documentation
This commit is contained in:
Albin Ahlbäck 2021-07-13 19:12:47 +02:00
parent 30984672d6
commit 033919486c
2 changed files with 3 additions and 3 deletions

View file

@ -653,11 +653,11 @@ Exponentials and logarithms
.. function:: void acb_exp_invexp(acb_t s, acb_t t, const acb_t z, slong prec)
Sets `v = \exp(z)` and `w = \exp(-z)`.
Sets `s = \exp(z)` and `t = \exp(-z)`.
.. function:: void acb_expm1(acb_t res, const acb_t z, slong prec)
Computes `\exp(z)-1`, using an accurate method when `z \approx 0`.
Sets *res* to `\exp(z)-1`, using an accurate method when `z \approx 0`.
.. function:: void acb_log(acb_t y, const acb_t z, slong prec)

View file

@ -1055,7 +1055,7 @@ Exponentials and logarithms
.. function:: void arb_expm1(arb_t z, const arb_t x, slong prec)
Sets `z = \exp(x)-1`, computed accurately when `x \approx 0`.
Sets `z = \exp(x)-1`, using an accurate method when `x \approx 0`.
.. function:: void arb_exp_invexp(arb_t z, arb_t w, const arb_t x, slong prec)