summaryrefslogtreecommitdiff
path: root/cmp_d.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-06-26 13:40:08 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-06-26 13:40:08 +0000
commit3bd252817f1048db139cc3e1a34e850f7b67abdd (patch)
tree4514fed625fe252e786378cddfac6d7405507e93 /cmp_d.c
parente81472a1d9c12d70c474f2fe93c5020e412ec993 (diff)
downloadmpfr-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 'cmp_d.c')
-rw-r--r--cmp_d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmp_d.c b/cmp_d.c
index 046686605..9a0eb67c7 100644
--- a/cmp_d.c
+++ b/cmp_d.c
@@ -32,7 +32,7 @@ mpfr_cmp_d (mpfr_srcptr b, double d)
MPFR_ASSERTN(!MPFR_IS_NAN(b));
- mpfr_init2 (tmp, 53);
+ mpfr_init2 (tmp, IEEE_DBL_MANT_DIG);
mpfr_set_d (tmp, d, GMP_RNDN);
z = mpfr_cmp (b, tmp);