diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-12 12:51:09 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-12 12:51:09 +0000 |
commit | 49fe0fbfb5609bc3cf91dece29f9b3148ea059c6 (patch) | |
tree | 57f3aeae8c7d8f40d8dc324957fe8fa521f86da6 | |
parent | f6aa32bd10d57a565e6726aa7c6f8752d9c86951 (diff) | |
download | mpfr-49fe0fbfb5609bc3cf91dece29f9b3148ea059c6.tar.gz |
Update.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2837 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | TODO | 34 | ||||
-rw-r--r-- | tests/memory.c | 1 |
2 files changed, 1 insertions, 34 deletions
@@ -1,4 +1,4 @@ -Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation. +Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation. Contributed by the Spaces project, INRIA Lorraine. This file is part of the MPFR Library. @@ -28,9 +28,6 @@ Documentation: - mpfr_set_prec: add an explanation of how to speed up calculations which increase their precision at each step. -- add macros/variables to check the version of mpfr - (suggestion from Andreas Enge <enge@lix.polytechnique.fr>) - - solve the problem with @pxref{Custom Allocation,,, gmp,GNU MP} [gives broken link on the html version] @@ -116,13 +113,9 @@ New functions to implement: it at mpz_set_fr right now, it won't cause any conflicts or anything.] - those from LIA: missing secant, cosecant, cotangent (trigo/hyperbolic) - atan2 -- implement accurate summation algorithms from Demmel - (http://www.cs.berkeley.edu/~demmel/AccurateSummation.ps) - mpfr_root to compute x^(1/n) for n integer, similar to mpz_root [suggested by Damien Fisher, damien@maths.usyd.edu.au, 20 Jul 2003, and Mark Watkins <watkins@maths.usyd.edu.au>, 23 Jul 2003] -- a function to free the cache used by constants (and possibly other - functions). - mpfr_fmod (mpfr_t, mpfr_srcptr, mpfr_srcptr, mp_rnd_t) [suggested by Tomas Zahradnicky <tomas@24uSoftware.com>, 29 Nov 2003] Kevin: Might want to be called mpfr_mod, to match mpz_mod. @@ -138,21 +131,6 @@ Efficiency: - idem for mpfr_atanh (2^(-1021) for example) - improve generic.c to work for number of terms <> 2^k - rewrite mpfr_greater_p... as native code. -- combine tests for singular values [from Torbjorn Granlund]: - For example, mpfr_add could have this structure: - if (MPFR_SINGULAR (a)) - ... - else if (MPFR_SINGULAR (b) - ... - else - plain operands - -- MPFR_CLEAR_NAN is inefficient, MPFR_SET_INF and friends should do a - single mask and set of their desired flags. - -- Nan, inf and the sign might be better off in the _mpfr_exp field, - since that would mean only one field set by normal operations, and - set by a simple store since the whole field would be updated. - mpf_t uses a scheme where the number of limbs actually present can be less than the selected precision, thereby allowing low precision @@ -190,8 +168,6 @@ Miscellaneous: - add tests of the ternary value for constants -- replace all mpfr_set_d calls in tests (except when testing it) - Reentrancy / Thread-Safety: - Temporary changes to emin/emax are not safe (all uses of @@ -203,20 +179,12 @@ Reentrancy / Thread-Safety: Portability: -- _mpfr_ceil_log2 is IEEE specific. Many callers only seem to want - this operation on an integer, which could be done with - count_leading_zeros from longlong.h. - -- mpfr_get_d3 assumes a double is IEEE format. - - [Kevin about texp.c long strings] For strings longer than c99 guarantees, it might be cleaner to introduce a "tests_strdupcat" or something to concatenate literal strings into newly allocated memory. I thought I'd done that in a couple of places already. Arrays of chars are not much fun. -- replace "if (mpfr_get_d1 (x) != ...)" in tests - Possible future MPF / MPFR integration: - mpf routines can become "extern inline"s calling mpfr equivalents, diff --git a/tests/memory.c b/tests/memory.c index 8a2877e3d..6b202e5a1 100644 --- a/tests/memory.c +++ b/tests/memory.c @@ -26,7 +26,6 @@ MA 02111-1307, USA. */ #include <stdlib.h> /* for abort */ #include <limits.h> - #include "mpfr-test.h" /* Each block allocated is a separate malloc, for the benefit of a redzoning |