summaryrefslogtreecommitdiff
path: root/tests/tmul_i.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/tmul_i.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/tmul_i.c')
-rw-r--r--tests/tmul_i.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tmul_i.c b/tests/tmul_i.c
index 3cde4ac..863ed5f 100644
--- a/tests/tmul_i.c
+++ b/tests/tmul_i.c
@@ -1,6 +1,6 @@
/* tmul_i -- test file for mpc_mul_i.
-Copyright (C) 2008, 2009, 2010, 2011 INRIA
+Copyright (C) 2008, 2009, 2010, 2011, 2012 INRIA
This file is part of GNU MPC.
@@ -36,10 +36,10 @@ check_different_precisions(void)
mpfr_set_prec (mpc_imagref (expected), 32);
mpfr_set_prec (mpc_imagref (got), 32);
- mpfr_set_str (mpc_realref (z), "0x100000000fp-32", 16, GMP_RNDN);
- mpfr_set_str (mpc_imagref (z), "-1", 2, GMP_RNDN);
- mpfr_set_str (mpc_realref (expected), "+1", 2, GMP_RNDN);
- mpfr_set_str (mpc_imagref (expected), "0x100000000fp-32", 16, GMP_RNDN);
+ mpfr_set_str (mpc_realref (z), "0x100000000fp-32", 16, MPFR_RNDN);
+ mpfr_set_str (mpc_imagref (z), "-1", 2, MPFR_RNDN);
+ mpfr_set_str (mpc_realref (expected), "+1", 2, MPFR_RNDN);
+ mpfr_set_str (mpc_imagref (expected), "0x100000000fp-32", 16, MPFR_RNDN);
mpc_set (got, z, MPC_RNDNN);
res = mpc_mul_i (got, got, +1, MPC_RNDNN);