diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-07-15 14:42:08 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-07-15 14:42:08 +0000 |
commit | 13d64b28f20410d6c11569663b54fbf95b198a60 (patch) | |
tree | 7c96366e48696caffaaacb6cc506e798ba149a87 /get_d.c | |
parent | a912b8b20d8e2e7e5ec13d9f3500e7daf2b13bac (diff) | |
download | mpfr-13d64b28f20410d6c11569663b54fbf95b198a60.tar.gz |
Updated comment.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2381 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_d.c')
-rw-r--r-- | get_d.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -207,9 +207,8 @@ mpfr_get_d3 (mpfr_srcptr src, mp_exp_t e, mp_rnd_t rnd_mode) d = 1.0; else { - /* Warning: the rounding may still be incorrect in the rounding - to the nearest mode when the result is a subnormal because of - a double rounding (-> 53 bits -> final precision). */ + /* The following computations are exact thanks to the previous + mpfr_round_raw. */ d = (double) tp[0] / MP_BASE_AS_DOUBLE; for (i = 1; i <= np; i++) d = (d + tp[i]) / MP_BASE_AS_DOUBLE; |