diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-04-03 11:28:24 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-04-03 11:28:24 +0000 |
commit | fdd1856c2355eaaa01aceb154098a88203ba5674 (patch) | |
tree | 842abbda64a76b7d2dfba041872976117ad90604 /TODO | |
parent | 1543c40a4bf927230a0f93236f71688647a2ff32 (diff) | |
download | mpfr-fdd1856c2355eaaa01aceb154098a88203ba5674.tar.gz |
[TODO,src/log1p.c] log1p(x) on small x should also be improved instead
of computing log(1+x).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11399 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -300,7 +300,8 @@ Table of contents: Also mpfr_div uses the remainder computed by mpn_divrem. A workaround would be to first try with mpn_div_q, and if we cannot (easily) compute the rounding, then use the current code with mpn_divrem. -- improve atanh(x) for small x by using atanh(x) = log1p(2x/(1-x)). +- improve atanh(x) for small x by using atanh(x) = log1p(2x/(1-x)), + and log1p should also be improved for small arguments. - compute exp by using the series for cosh or sinh, which has half the terms (see Exercise 4.11 from Modern Computer Arithmetic, version 0.3) The same method can be used for log, using the series for atanh, i.e., |