diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-12-13 00:55:01 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-12-13 00:55:01 +0100 |
commit | 0c36aa9d0bd6a6f9fc84b97553f664fe96d07908 (patch) | |
tree | c358a7bb718d9f979f106bbb56ba34fd788766ac /tests/t-modlinv.c | |
parent | 3f2ed6a649c4ad01d8e4de8ff84ca843ed97df19 (diff) | |
download | gmp-0c36aa9d0bd6a6f9fc84b97553f664fe96d07908.tar.gz |
* tests/t-constants.c (main), tests/t-count_zeros.c (check_clz),
tests/t-modlinv.c (one), tests/mpz/t-jac.c (try_si_zi),
tests/mpq/t-get_d.c (check_onebit): : Correction to printfs.
Diffstat (limited to 'tests/t-modlinv.c')
-rw-r--r-- | tests/t-modlinv.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/t-modlinv.c b/tests/t-modlinv.c index 7afbf455b..aa38cc003 100644 --- a/tests/t-modlinv.c +++ b/tests/t-modlinv.c @@ -1,6 +1,6 @@ /* Test modlimb_invert. -Copyright 2000, 2001, 2002 Free Software Foundation, Inc. +Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -37,8 +37,10 @@ one (mp_limb_t n) prod = (inv * n) & GMP_NUMB_MASK; if (prod != 1) { - printf ("modlimb_invert wrong on n=0x%lX, got 0x%lX, product 0x%lX\n", - n, inv, prod); + printf ("modlimb_invert wrong\n"); + mp_limb_trace (" n ", n); + mp_limb_trace (" got ", inv); + mp_limb_trace (" product ", prod); abort (); } } |