summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2005-05-25 02:46:54 +0200
committertege <tege@gmplib.org>2005-05-25 02:46:54 +0200
commitff80d5f8359d8db47dbf04abdd5027ba5e7d8266 (patch)
tree562537de3cf8c3b0195a6116e9649f5a02c2f3d2 /tests
parentd72627780e7e4248c7a706638c81c305a69e6d7f (diff)
downloadgmp-ff80d5f8359d8db47dbf04abdd5027ba5e7d8266.tar.gz
(check_one): Fix printf fmt string typo.
Diffstat (limited to 'tests')
-rw-r--r--tests/mpf/t-cmp_d.c2
-rw-r--r--tests/mpz/t-cmp_d.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/mpf/t-cmp_d.c b/tests/mpf/t-cmp_d.c
index fd6edea97..1baef25c4 100644
--- a/tests/mpf/t-cmp_d.c
+++ b/tests/mpf/t-cmp_d.c
@@ -46,7 +46,7 @@ check_one (const char *name, mpf_srcptr x, double y, int cmp)
printf (" y %g\n", y);
mp_trace_base=-16;
mpf_trace (" x", x);
- printf (" y %A\n", y);
+ printf (" y %g\n", y);
printf (" y");
for (i = 0; i < sizeof(y); i++)
printf (" %02X", (unsigned) ((unsigned char *) &y)[i]);
diff --git a/tests/mpz/t-cmp_d.c b/tests/mpz/t-cmp_d.c
index 4e6b62dad..099ad89c2 100644
--- a/tests/mpz/t-cmp_d.c
+++ b/tests/mpz/t-cmp_d.c
@@ -52,7 +52,7 @@ check_one (const char *name, mpz_srcptr x, double y, int cmp, int cmpabs)
printf (" y %g\n", y);
mp_trace_base=-16;
mpz_trace (" x", x);
- printf (" y %A\n", y);
+ printf (" y %g\n", y);
printf (" y");
for (i = 0; i < sizeof(y); i++)
printf (" %02X", (unsigned) ((unsigned char *) &y)[i]);