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/tlog2.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/tlog2.c')
-rw-r--r-- | tests/tlog2.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/tlog2.c b/tests/tlog2.c index 09a0afbd0..16a5e3f99 100644 --- a/tests/tlog2.c +++ b/tests/tlog2.c @@ -38,31 +38,31 @@ special (void) mpfr_init (x); mpfr_set_nan (x); - inex = mpfr_log2 (x, x, GMP_RNDN); + inex = mpfr_log2 (x, x, MPFR_RNDN); MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0); mpfr_set_inf (x, -1); - inex = mpfr_log2 (x, x, GMP_RNDN); + inex = mpfr_log2 (x, x, MPFR_RNDN); MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0); mpfr_set_inf (x, 1); - inex = mpfr_log2 (x, x, GMP_RNDN); + inex = mpfr_log2 (x, x, MPFR_RNDN); MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) > 0 && inex == 0); - mpfr_set_ui (x, 0, GMP_RNDN); - inex = mpfr_log2 (x, x, GMP_RNDN); + mpfr_set_ui (x, 0, MPFR_RNDN); + inex = mpfr_log2 (x, x, MPFR_RNDN); MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) < 0 && inex == 0); - mpfr_set_ui (x, 0, GMP_RNDN); - mpfr_neg (x, x, GMP_RNDN); - inex = mpfr_log2 (x, x, GMP_RNDN); + mpfr_set_ui (x, 0, MPFR_RNDN); + mpfr_neg (x, x, MPFR_RNDN); + inex = mpfr_log2 (x, x, MPFR_RNDN); MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) < 0 && inex == 0); - mpfr_set_si (x, -1, GMP_RNDN); - inex = mpfr_log2 (x, x, GMP_RNDN); + mpfr_set_si (x, -1, MPFR_RNDN); + inex = mpfr_log2 (x, x, MPFR_RNDN); MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0); - mpfr_set_si (x, 1, GMP_RNDN); - inex = mpfr_log2 (x, x, GMP_RNDN); + mpfr_set_si (x, 1, MPFR_RNDN); + inex = mpfr_log2 (x, x, MPFR_RNDN); MPFR_ASSERTN (mpfr_cmp_ui (x, 0) == 0 && MPFR_IS_POS(x) && inex == 0); mpfr_clear (x); |