summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/tpow_ld.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/tpow_ld.c b/tests/tpow_ld.c
index a02ea6e..a4e3ab9 100644
--- a/tests/tpow_ld.c
+++ b/tests/tpow_ld.c
@@ -1,6 +1,6 @@
/* tpow_ld -- test file for mpc_pow_ld.
-Copyright (C) 2009 INRIA
+Copyright (C) 2009, 2014 INRIA
This file is part of GNU MPC.
@@ -33,6 +33,9 @@ main (void)
if (mpc_cmp_si_si (z, -9, 46) != 0)
{
printf ("Error for mpc_pow_ld (1)\n");
+ printf ("expected (-9 46)\ngot ");
+ mpc_out_str (stdout, 10, 0, z, MPC_RNDNN);
+ printf ("\n");
exit (1);
}
mpc_clear (z);