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/tdiv_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/tdiv_d.c')
-rw-r--r-- | tests/tdiv_d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tdiv_d.c b/tests/tdiv_d.c index 5ca08da9a..77a5e0352 100644 --- a/tests/tdiv_d.c +++ b/tests/tdiv_d.c @@ -44,7 +44,7 @@ check_nans (void) mpfr_div_d (y, x, 1.0, GMP_RNDN); MPFR_ASSERTN (mpfr_inf_p (y)); MPFR_ASSERTN (mpfr_sgn (y) > 0); - + /* -inf / 1.0 == -inf */ mpfr_set_inf (x, -1); mpfr_div_d (y, x, 1.0, GMP_RNDN); @@ -78,7 +78,7 @@ main (int argc, char *argv[]) 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 (); |