diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-09-16 02:56:41 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-09-16 02:56:41 +0000 |
commit | b8c92328cd04ae9d568edb5abecccf3297f8ecf8 (patch) | |
tree | 87e6429f2357089041db7063eb00c1e208bea558 /tests/tget_flt.c | |
parent | bf7f081370573507b80c0372ddbaaac4b6ca9382 (diff) | |
download | mpfr-b8c92328cd04ae9d568edb5abecccf3297f8ecf8.tar.gz |
replaced calls to mpfr_printf by calls to mpfr_dump
(mpfr_printf might not be defined)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7150 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_flt.c')
-rw-r--r-- | tests/tget_flt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tget_flt.c b/tests/tget_flt.c index 0c8e7366f..6474d369b 100644 --- a/tests/tget_flt.c +++ b/tests/tget_flt.c @@ -127,8 +127,8 @@ main (void) if (mpfr_cmp (x, y) != 0) { printf ("Error for mpfr_set_flt(mpfr_get_flt(x))\n"); - mpfr_printf ("expected %Ra\n", x); - mpfr_printf ("got %Ra\n", y); + printf ("expected "); mpfr_dump (x); + printf ("got "); mpfr_dump (y); exit (1); } mpfr_mul_2exp (x, x, 1, MPFR_RNDN); @@ -145,8 +145,8 @@ main (void) if (mpfr_cmp (x, y) != 0) { printf ("Error for mpfr_set_flt(mpfr_get_flt(x))\n"); - mpfr_printf ("expected %Ra\n", x); - mpfr_printf ("got %Ra\n", y); + printf ("expected "); mpfr_dump (x); + printf ("got "); mpfr_dump (y); exit (1); } mpfr_mul_2exp (x, x, 1, MPFR_RNDN); @@ -163,8 +163,8 @@ main (void) if (mpfr_cmp (x, y) != 0) { printf ("Error for mpfr_set_flt(mpfr_get_flt(x))\n"); - mpfr_printf ("expected %Ra\n", x); - mpfr_printf ("got %Ra\n", y); + printf ("expected "); mpfr_dump (x); + printf ("got "); mpfr_dump (y); exit (1); } mpfr_mul_2exp (x, x, 1, MPFR_RNDN); |