diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-09-22 00:15:49 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-09-22 00:15:49 +0000 |
commit | 82f89150b90c80de5cceeb809b4d673170b2683b (patch) | |
tree | 6d08b7d3eefcb4f7e3c94a5ec189d0c163fced05 /tests/tadd_d.c | |
parent | 31b0a730179051aa500c033e66eefc4afa423897 (diff) | |
download | mpfr-82f89150b90c80de5cceeb809b4d673170b2683b.tar.gz |
GNU coding style, reformatting, exit (-1) -> exit (1).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4865 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tadd_d.c')
-rw-r--r-- | tests/tadd_d.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tadd_d.c b/tests/tadd_d.c index b7a051a42..07843a68e 100644 --- a/tests/tadd_d.c +++ b/tests/tadd_d.c @@ -37,7 +37,7 @@ check_regulars (void) mpfr_init2 (x, IEEE_DBL_MANT_DIG); mpfr_init2 (y, IEEE_DBL_MANT_DIG); mpfr_init2 (z, IEEE_DBL_MANT_DIG); - + mpfr_set_str (y, "4096", 10, GMP_RNDN); d = 0.125; mpfr_clear_flags (); @@ -59,11 +59,11 @@ check_regulars (void) printf ("\n"); exit (1); } - + /* (2) check inexact flag */ mpfr_set_prec (x, 2); mpfr_set_prec (z, 2); - + mpfr_clear_flags (); inexact = mpfr_add_d (x, y, d, GMP_RNDN); if (inexact == 0) |