summaryrefslogtreecommitdiff
path: root/tests/tpow3.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2005-05-04 09:27:48 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2005-05-04 09:27:48 +0000
commit150f2dcebabbb3eb7ef8833751a166e277aa0ebd (patch)
treefb461e4644e7b6c4edb7f0e5bdf9ef884091e0c5 /tests/tpow3.c
parentdf41811f1ecf4f773defab58f3323368528ffa73 (diff)
downloadmpfr-150f2dcebabbb3eb7ef8833751a166e277aa0ebd.tar.gz
improved const_euler and eint
removed dependency from input precision in several functions fixed two bugs in pow (detection of exact cases) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3524 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tpow3.c')
-rw-r--r--tests/tpow3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tpow3.c b/tests/tpow3.c
index e5817e215..940925458 100644
--- a/tests/tpow3.c
+++ b/tests/tpow3.c
@@ -72,13 +72,13 @@ main (int argc, char *argv[])
if (mpfr_can_round (y, err, rnd, rnd, prec))
{
mpfr_set (t, y, rnd);
- inexact = mpfr_pow (z,x, s, rnd);
+ inexact = mpfr_pow (z, x, s, rnd);
if (mpfr_cmp (t, z))
{
- printf ("results differ for x=");
+ printf ("results differ for x^y with x=");
mpfr_out_str (stdout, 2, prec, x, GMP_RNDN);
- printf (" values of the exponential=");
- mpfr_out_str (stdout, 2, prec, s, GMP_RNDN);
+ printf (" y=");
+ mpfr_out_str (stdout, 2, 0, s, GMP_RNDN);
printf (" prec=%u rnd_mode=%s\n", (unsigned int) prec,
mpfr_print_rnd_mode (rnd));
printf ("got ");