diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 17:03:17 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 17:03:17 +0000 |
commit | d8782b82c961338b15ef888f0bc152566644a964 (patch) | |
tree | 6972f3706c8251eb2b814fb636519519b73bb1f5 /tests/tatan.c | |
parent | bab5aab404897a12fe1c87734ebf2aa270b9b73b (diff) | |
download | mpfr-d8782b82c961338b15ef888f0bc152566644a964.tar.gz |
Removed trailing spaces (better for future patches, as such spaces
are sometimes stripped).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3726 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tatan.c')
-rw-r--r-- | tests/tatan.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tatan.c b/tests/tatan.c index bb4c4afe9..0a5ea071b 100644 --- a/tests/tatan.c +++ b/tests/tatan.c @@ -164,10 +164,10 @@ special (void) /* Test regression */ mpfr_set_prec (x, 51); mpfr_set_prec (y, 51); - mpfr_set_str_binary (x, + mpfr_set_str_binary (x, "0.101100100000101111111010001111111000001000000000000E-11"); i = mpfr_atan (y, x, GMP_RNDN); - if (mpfr_cmp_str (y, + if (mpfr_cmp_str (y, "1.01100100000101111111001110011001010110100100000000e-12", 2, GMP_RNDN) || i >= 0) { @@ -175,7 +175,7 @@ special (void) mpfr_dump (y); exit (1); } - + mpfr_set_si (x, -1, GMP_RNDN); mpfr_atan (x, x, GMP_RNDN); MPFR_ASSERTN (MPFR_IS_NEG (x)); @@ -190,7 +190,7 @@ special (void) printf ("Error in mpfr_atan (4)\n"); printf ("Input 1.11001110010000011111100000010000000000000000000e-19 [prec=48]\n"); printf ("Expected 0.111001110010000011111100000001111111110000010011E-18\n"); - printf ("Got "); mpfr_dump (y); + printf ("Got "); mpfr_dump (y); exit (1); } @@ -258,7 +258,7 @@ special_atan2 (void) /* 0+ 0+ --> 0+ */ mpfr_set_ui (y, 0, GMP_RNDN); mpfr_atan2 (z, y, x, GMP_RNDN); - MPFR_ASSERTN (MPFR_IS_ZERO (z) && MPFR_IS_POS (z)); + MPFR_ASSERTN (MPFR_IS_ZERO (z) && MPFR_IS_POS (z)); /* 0- 0+ --> 0- */ MPFR_CHANGE_SIGN (y); mpfr_atan2 (z, y, x, GMP_RNDN); @@ -275,7 +275,7 @@ special_atan2 (void) mpfr_set_si (x, -1, GMP_RNDN); mpfr_atan2 (z, y, x, GMP_RNDN); MPFR_ASSERTN (mpfr_cmp_str (z, "3.1415", 10, GMP_RNDN) == 0); - /* 0- -1 --> -PI */ + /* 0- -1 --> -PI */ MPFR_CHANGE_SIGN (y); mpfr_atan2 (z, y, x, GMP_RNDN); MPFR_ASSERTN (mpfr_cmp_str (z, "-3.1415", 10, GMP_RNDN) == 0); |