summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-18 19:50:36 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-18 19:50:36 +0000
commita2f5b621b93d55dbebb2496e8a9faa30951975b7 (patch)
treeed4cc386d8ac9746679d2c32fdd52d5e1b808490 /TODO
parentb8c92328cd04ae9d568edb5abecccf3297f8ecf8 (diff)
downloadmpfr-a2f5b621b93d55dbebb2496e8a9faa30951975b7.tar.gz
[TODO] added efficiency item
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7156 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'TODO')
-rw-r--r--TODO6
1 files changed, 6 insertions, 0 deletions
diff --git a/TODO b/TODO
index 2acc1a340..48169e2c1 100644
--- a/TODO
+++ b/TODO
@@ -232,6 +232,12 @@ Table of contents:
5. Efficiency
##############################################################################
+- use mpn_div_q to speed up mpfr_div. However mpn_div_q, which is new in
+ GMP 5, is not documented in the GMP manual, thus we are not sure it
+ guarantees to return the same quotient as mpn_tdiv_qr.
+ 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.
- 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.,