summaryrefslogtreecommitdiff
path: root/tests/t-count_zeros.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-11-28 12:57:53 +0100
committerTorbjorn Granlund <tege@gmplib.org>2009-11-28 12:57:53 +0100
commit4fab69d02817734bc7e21e6c3f61bd3098b3b394 (patch)
tree0a43f3246a49a0a04fba10900dcea1868c208578 /tests/t-count_zeros.c
parent2c639d5f1b78f47267eecfca5396a0eabc7ea5e9 (diff)
downloadgmp-4fab69d02817734bc7e21e6c3f61bd3098b3b394.tar.gz
Finish renaming BITS_PER_MP_LIMB to GMP_LIMB_BITS.
Diffstat (limited to 'tests/t-count_zeros.c')
-rw-r--r--tests/t-count_zeros.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t-count_zeros.c b/tests/t-count_zeros.c
index 85955dcba..8dc34eb03 100644
--- a/tests/t-count_zeros.c
+++ b/tests/t-count_zeros.c
@@ -63,9 +63,9 @@ check_various (void)
check_clz (COUNT_LEADING_ZEROS_0, CNST_LIMB(0));
#endif
- for (i=0; i < BITS_PER_MP_LIMB; i++)
+ for (i=0; i < GMP_LIMB_BITS; i++)
{
- check_clz (i, CNST_LIMB(1) << (BITS_PER_MP_LIMB-1-i));
+ check_clz (i, CNST_LIMB(1) << (GMP_LIMB_BITS-1-i));
check_ctz (i, CNST_LIMB(1) << i);
check_ctz (i, MP_LIMB_T_MAX << i);