summaryrefslogtreecommitdiff
path: root/tests/tinternals.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-03 16:51:07 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-03 16:51:07 +0000
commitf5f7883fc7cf47d38ed493a882fd7109bdd589bb (patch)
tree1058cf0d07593fa2cec9f32b4988ac40611b4bff /tests/tinternals.c
parentcbd40e1cb659b579e608afbe7a05da5b15a860be (diff)
downloadmpfr-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/tinternals.c')
-rw-r--r--tests/tinternals.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tinternals.c b/tests/tinternals.c
index 91cc9d5b6..141ee3835 100644
--- a/tests/tinternals.c
+++ b/tests/tinternals.c
@@ -60,14 +60,14 @@ test_round_near_x (void)
mpfr_set_prec (y, 3);
mpfr_set_prec (z, 3);
mpfr_set_prec (eps, 2);
- mpfr_set_ui_2exp (eps, 1, -32, GMP_RNDN);
+ mpfr_set_ui_2exp (eps, 1, -32, MPFR_RNDN);
for (mx = 16; mx < 32; mx++)
{
- mpfr_set_ui_2exp (x, mx, -2, GMP_RNDN);
+ mpfr_set_ui_2exp (x, mx, -2, MPFR_RNDN);
for (p = buffer, neg = 0;
neg <= 1;
- mpfr_neg (x, x, GMP_RNDN), p++, neg++)
+ mpfr_neg (x, x, MPFR_RNDN), p++, neg++)
for (err = 2; err <= 6; err++)
for (dir = 0; dir <= 1; dir++)
RND_LOOP(r)
@@ -91,11 +91,11 @@ test_round_near_x (void)
else
{
printf ("Bad MPFR value (should have got ");
- mpfr_out_str (stdout, 2, 3, z, GMP_RNDZ);
+ mpfr_out_str (stdout, 2, 3, z, MPFR_RNDZ);
printf (") for:\n");
}
- if (!mpfr_get_str (buffer, &e, 2, 5, x, GMP_RNDZ) || e != 3)
+ if (!mpfr_get_str (buffer, &e, 2, 5, x, MPFR_RNDZ) || e != 3)
{
printf ("mpfr_get_str failed in test_round_near_x\n");
exit (1);
@@ -107,7 +107,7 @@ test_round_near_x (void)
if (inex != 0)
{
printf (", y = ");
- mpfr_out_str (stdout, 2, 3, y, GMP_RNDZ);
+ mpfr_out_str (stdout, 2, 3, y, MPFR_RNDZ);
}
printf ("\n");
if (inex == 0)