summaryrefslogtreecommitdiff
path: root/get_d64.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-05-31 12:11:03 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-05-31 12:11:03 +0000
commitf03dcbbbe974e2b408a74889fae37ceeffec80df (patch)
tree351c5eb7f1897587cd0ebf2d5b29d85939d3b731 /get_d64.c
parent324ebf083effde985d24c572dafbb4447df6abef (diff)
downloadmpfr-f03dcbbbe974e2b408a74889fae37ceeffec80df.tar.gz
get_d64.c: use BITS_PER_MP_LIMB instead of GMP_BITS_PER_LIMB (which
does not seem to exist). set_d64.c: use BITS_PER_MP_LIMB instead of mp_bits_per_limb. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4518 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_d64.c')
-rw-r--r--get_d64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/get_d64.c b/get_d64.c
index a16157058..9e022673a 100644
--- a/get_d64.c
+++ b/get_d64.c
@@ -270,8 +270,8 @@ string_to_Decimal64 (char *s)
rn = mpn_set_str (rp, (unsigned char *) m, 16, 10);
if (rn == 1)
rp[1] = 0;
-#if GMP_BITS_PER_LIMB > 32
- rp[1] = rp[1] << (GMP_BITS_PER_LIMB - 32);
+#if BITS_PER_MP_LIMB > 32
+ rp[1] = rp[1] << (BITS_PER_MP_LIMB - 32);
rp[1] |= rp[0] >> 32;
rp[0] &= 4294967295UL;
#endif