diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-03-03 16:51:07 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-03-03 16:51:07 +0000 |
commit | f5f7883fc7cf47d38ed493a882fd7109bdd589bb (patch) | |
tree | 1058cf0d07593fa2cec9f32b4988ac40611b4bff /tests/tcsch.c | |
parent | cbd40e1cb659b579e608afbe7a05da5b15a860be (diff) | |
download | mpfr-f5f7883fc7cf47d38ed493a882fd7109bdd589bb.tar.gz |
GMP_RNDX -> MPFR_RNDX
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6053 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcsch.c')
-rw-r--r-- | tests/tcsch.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/tcsch.c b/tests/tcsch.c index bf391516b..f48861a90 100644 --- a/tests/tcsch.c +++ b/tests/tcsch.c @@ -38,7 +38,7 @@ check_specials (void) mpfr_init2 (y, 123L); mpfr_set_nan (x); - mpfr_csch (y, x, GMP_RNDN); + mpfr_csch (y, x, MPFR_RNDN); if (! mpfr_nan_p (y)) { printf ("Error: csch(NaN) != NaN\n"); @@ -46,7 +46,7 @@ check_specials (void) } mpfr_set_inf (x, 1); - mpfr_csch (y, x, GMP_RNDN); + mpfr_csch (y, x, MPFR_RNDN); if (! (mpfr_zero_p (y) && MPFR_SIGN (y) >0)) { printf ("Error: csch(+Inf) != +0\n"); @@ -54,7 +54,7 @@ check_specials (void) } mpfr_set_inf (x, -1); - mpfr_csch (y, x, GMP_RNDN); + mpfr_csch (y, x, MPFR_RNDN); if (! (mpfr_zero_p (y) && MPFR_SIGN (y) <0)) { printf ("Error: csch(-0) != -0\n"); @@ -62,15 +62,15 @@ check_specials (void) } /* csc(+/-0) = +/-Inf */ - mpfr_set_ui (x, 0, GMP_RNDN); - mpfr_csch (y, x, GMP_RNDN); + mpfr_set_ui (x, 0, MPFR_RNDN); + mpfr_csch (y, x, MPFR_RNDN); if (! (mpfr_inf_p (y) && mpfr_sgn (y) > 0)) { printf ("Error: csch(+0) != +Inf\n"); exit (1); } - mpfr_neg (x, x, GMP_RNDN); - mpfr_csch (y, x, GMP_RNDN); + mpfr_neg (x, x, MPFR_RNDN); + mpfr_csch (y, x, MPFR_RNDN); if (! (mpfr_inf_p (y) && mpfr_sgn (y) < 0)) { printf ("Error: csch(-0) != -Inf\n"); @@ -78,15 +78,15 @@ check_specials (void) } /* check huge x */ - mpfr_set_str (x, "8e8", 10, GMP_RNDN); - mpfr_csch (y, x, GMP_RNDN); + mpfr_set_str (x, "8e8", 10, MPFR_RNDN); + mpfr_csch (y, x, MPFR_RNDN); if (! (mpfr_zero_p (y) && MPFR_SIGN (y) > 0)) { printf ("Error: csch(8e8) != +0\n"); exit (1); } - mpfr_set_str (x, "-8e8", 10, GMP_RNDN); - mpfr_csch (y, x, GMP_RNDN); + mpfr_set_str (x, "-8e8", 10, MPFR_RNDN); + mpfr_csch (y, x, MPFR_RNDN); if (! (mpfr_zero_p (y) && MPFR_SIGN (y) < 0)) { printf ("Error: csch(-8e8) != -0\n"); |