diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-08-16 09:05:15 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-08-16 09:05:15 +0000 |
commit | a5dc53c8d3acf9f0a7ec38895df3d6676845b162 (patch) | |
tree | 8c1545e2cae10aaa5afac38683f352ed6aadbebc /tests/tset_si.c | |
parent | f322bdb378f55d02a41a5d73f3a467d201f74741 (diff) | |
download | mpfr-a5dc53c8d3acf9f0a7ec38895df3d6676845b162.tar.gz |
replaced mp_bits_per_limb by BITS_PER_MP_LIMB (constant)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@701 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_si.c')
-rw-r--r-- | tests/tset_si.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tset_si.c b/tests/tset_si.c index 9547f8b7e..c7605fe83 100644 --- a/tests/tset_si.c +++ b/tests/tset_si.c @@ -58,13 +58,13 @@ main(int argc, char **argv) mpfr_set_prec(x, 3); mpfr_set_si(x, 77617, GMP_RNDD); /* should be 65536 */ - if (MANT(x)[0] != ((mp_limb_t)1 << (mp_bits_per_limb-1))) { + if (MANT(x)[0] != ((mp_limb_t)1 << (BITS_PER_MP_LIMB-1))) { fprintf(stderr, "Error in mpfr_set_si(x:3, 77617, GMP_RNDD)\n"); mpfr_print_raw(x); putchar('\n'); exit(1); } mpfr_set_ui(x, 77617, GMP_RNDD); /* should be 65536 */ - if (MANT(x)[0] != ((mp_limb_t)1 << (mp_bits_per_limb-1))) { + if (MANT(x)[0] != ((mp_limb_t)1 << (BITS_PER_MP_LIMB-1))) { fprintf(stderr, "Error in mpfr_set_ui(x:3, 77617, GMP_RNDD)\n"); mpfr_print_raw(x); putchar('\n'); exit(1); |