summaryrefslogtreecommitdiff
path: root/tests/treimref.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-07-23 12:24:50 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-07-23 12:24:50 +0000
commit7a9011ba5b38de2496079f590362cd2a80c60da3 (patch)
tree4f825caca97557ccfc100359e4a095d217a0d0f3 /tests/treimref.c
parenta0fdd560167ff7e18abf916ebb9ef284ef141e37 (diff)
downloadmpc-7a9011ba5b38de2496079f590362cd2a80c60da3.tar.gz
changed GMP_RND? to MPFR_RND?
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1246 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/treimref.c')
-rw-r--r--tests/treimref.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/treimref.c b/tests/treimref.c
index 230d34c..9d3c75c 100644
--- a/tests/treimref.c
+++ b/tests/treimref.c
@@ -1,6 +1,6 @@
/* treimref -- test file for mpc_realref and mpc_imagref.
-Copyright (C) 2009 INRIA
+Copyright (C) 2009, 2012 INRIA
This file is part of GNU MPC.
@@ -30,14 +30,14 @@ main (void)
mpc_init2 (z, 6);
mpc_set_ui_ui (z, 17, 42, MPC_RNDNN);
- mpfr_set_ui (mpc_realref (z), 18, GMP_RNDN);
- if (mpfr_get_ui (mpc_realref (z), GMP_RNDN) != 18)
+ mpfr_set_ui (mpc_realref (z), 18, MPFR_RNDN);
+ if (mpfr_get_ui (mpc_realref (z), MPFR_RNDN) != 18)
{
fprintf (stderr, "Error in mpfr_set_ui/mpc_realref\n");
exit (1);
}
- mpfr_set_ui (mpc_imagref (z), 43, GMP_RNDN);
- if (mpfr_get_ui (mpc_imagref (z), GMP_RNDN) != 43)
+ mpfr_set_ui (mpc_imagref (z), 43, MPFR_RNDN);
+ if (mpfr_get_ui (mpc_imagref (z), MPFR_RNDN) != 43)
{
fprintf (stderr, "Error in mpfr_set_ui/mpc_imagref\n");
exit (1);