diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-26 13:40:08 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-26 13:40:08 +0000 |
commit | 3bd252817f1048db139cc3e1a34e850f7b67abdd (patch) | |
tree | 4514fed625fe252e786378cddfac6d7405507e93 /set_d.c | |
parent | e81472a1d9c12d70c474f2fe93c5020e412ec993 (diff) | |
download | mpfr-3bd252817f1048db139cc3e1a34e850f7b67abdd.tar.gz |
moved macros for [L]DBL_MANT_DIG in mpfr-impl.h
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2373 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_d.c')
-rw-r--r-- | set_d.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ mpfr_set_d (mpfr_ptr r, double d, mp_rnd_t rnd_mode) since PREC(r) may be different from PREC(tmp), and then both variables would have same precision in the mpfr_set4 call below. */ MPFR_MANT(tmp) = tmpmant; - MPFR_PREC(tmp) = 53; + MPFR_PREC(tmp) = IEEE_DBL_MANT_DIG; MPFR_SIZE(tmp) = MPFR_LIMBS_PER_DOUBLE; signd = (d < 0) ? -1 : 1; |