diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-02-19 21:43:23 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-02-19 21:43:23 +0000 |
commit | f45a0e3b3fb95e320be589b01907375eedf6b079 (patch) | |
tree | 452a35b0c366d84be77e1fcd4bb58370f59e8f0c /TODO | |
parent | 177eda24dfc9c95af80aeb8bfb4b2d51a891da45 (diff) | |
download | mpfr-f45a0e3b3fb95e320be589b01907375eedf6b079.tar.gz |
added C99 rationale for remquo
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4373 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -96,8 +96,14 @@ New functions to implement: - mpfr_remainder (mpfr_t, mpfr_srcptr, mpfr_srcptr, mp_rnd_t) as in ISO C99: "centered" remainder. - mpfr_remquo (mpfr_t, mpfr_t, mpfr_srcptr, mpfr_srcptr, mp_rnd_t) - as in ISO C99: remainder and quotient - [suggested by Kaveh Ghazi, 18 Feb 2007] + as in ISO C99: remainder and quotient [suggested by Kaveh Ghazi, 18 Feb 2007] + Question: compute the full quotient (mpfr or mpz?) or only its low + significant bits as in C99 (see rationale below)? + "New feature for C99. The remquo functions are intended for + implementing argument reductions which can exploit a few low-order + bits of the quotient. Note that x may be so large in magnitude + relative to y that an exact representation of the quotient is not + practical." - mpfr_fms for a-b*c [suggested by Tomas Zahradnicky <tomas@24uSoftware.com>, 29 Nov 2003] - 1/sqrt(x) [Regis Dupont <dupont@lix.polytechnique.fr>, 15 Sep 2004] |