diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-07-19 08:29:11 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-07-19 08:29:11 +0000 |
commit | 777972783dc7829abbc8a88cba53c8578abb85ac (patch) | |
tree | 778b42c04e909ddbe2291c9d90f0b046b66f8110 /tests/tget_flt.c | |
parent | 4fb0d371932faad56852837b19bcd8ddc47dd30b (diff) | |
download | mpfr-777972783dc7829abbc8a88cba53c8578abb85ac.tar.gz |
[tests/tget_flt.c] Fixed printf strings (missing backslash).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7005 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_flt.c')
-rw-r--r-- | tests/tget_flt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tget_flt.c b/tests/tget_flt.c index 6f4b439c6..552e99d06 100644 --- a/tests/tget_flt.c +++ b/tests/tget_flt.c @@ -79,7 +79,7 @@ main (void) mpfr_set_flt (x, f, MPFR_RNDN); if (mpfr_zero_p (x) == 0 || MPFR_SIGN (x) < 0) { - printf ("Error for mpfr_set_flt(mpfr_get_flt(+0))n"); + printf ("Error for mpfr_set_flt(mpfr_get_flt(+0))\n"); exit (1); } @@ -89,7 +89,7 @@ main (void) mpfr_set_flt (x, f, MPFR_RNDN); if (mpfr_zero_p (x) == 0 || MPFR_SIGN (x) > 0) { - printf ("Error for mpfr_set_flt(mpfr_get_flt(-0))n"); + printf ("Error for mpfr_set_flt(mpfr_get_flt(-0))\n"); exit (1); } @@ -98,7 +98,7 @@ main (void) mpfr_set_flt (x, f, MPFR_RNDN); if (mpfr_cmp_ui (x, 17) != 0) { - printf ("Error for mpfr_set_flt(mpfr_get_flt(17))n"); + printf ("Error for mpfr_set_flt(mpfr_get_flt(17))\n"); printf ("expected 17\n"); printf ("got "); mpfr_dump (x); @@ -110,7 +110,7 @@ main (void) mpfr_set_flt (x, f, MPFR_RNDN); if (mpfr_cmp_si (x, -42) != 0) { - printf ("Error for mpfr_set_flt(mpfr_get_flt(-42))n"); + printf ("Error for mpfr_set_flt(mpfr_get_flt(-42))\n"); printf ("expected -42\n"); printf ("got "); mpfr_dump (x); |