diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-05-31 12:11:03 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-05-31 12:11:03 +0000 |
commit | f03dcbbbe974e2b408a74889fae37ceeffec80df (patch) | |
tree | 351c5eb7f1897587cd0ebf2d5b29d85939d3b731 /get_d64.c | |
parent | 324ebf083effde985d24c572dafbb4447df6abef (diff) | |
download | mpfr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |