summaryrefslogtreecommitdiff
path: root/tests/tmul.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-11-04 18:39:52 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-11-04 18:39:52 +0000
commit5ad0bccecc2c0aafdc23571a491fccc31171c22c (patch)
treefbb979252a636e9fc3215e15e12be49ca6d35a95 /tests/tmul.c
parent18e9d42b59925987d8128096c4a7ea6d49721862 (diff)
downloadmpc-5ad0bccecc2c0aafdc23571a491fccc31171c22c.tar.gz
replaced MPC_RE by mpc_realref and MPC_IM by mpc_imagref everywhere
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1112 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tmul.c')
-rw-r--r--tests/tmul.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/tmul.c b/tests/tmul.c
index 4337bfd..0f184cd 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -118,15 +118,15 @@ check_regular (void)
imaginary part */
mpc_set_prec (x, 7);
mpc_set_prec (y, 7);
- mpfr_set_str (MPC_RE (x), "0xB4p+733", 16, GMP_RNDN);
- mpfr_set_str (MPC_IM (x), "0x90p+244", 16, GMP_RNDN);
- mpfr_set_str (MPC_RE (y), "0xECp-146", 16, GMP_RNDN);
- mpfr_set_str (MPC_IM (y), "0xACp-471", 16, GMP_RNDN);
+ mpfr_set_str (mpc_realref (x), "0xB4p+733", 16, GMP_RNDN);
+ mpfr_set_str (mpc_imagref (x), "0x90p+244", 16, GMP_RNDN);
+ mpfr_set_str (mpc_realref (y), "0xECp-146", 16, GMP_RNDN);
+ mpfr_set_str (mpc_imagref (y), "0xACp-471", 16, GMP_RNDN);
cmpmul (x, y, MPC_RNDNN);
- mpfr_set_str (MPC_RE (x), "0xB4p+733", 16, GMP_RNDN);
- mpfr_set_str (MPC_IM (x), "0x90p+244", 16, GMP_RNDN);
- mpfr_set_str (MPC_RE (y), "0xACp-471", 16, GMP_RNDN);
- mpfr_set_str (MPC_IM (y), "-0xECp-146", 16, GMP_RNDN);
+ mpfr_set_str (mpc_realref (x), "0xB4p+733", 16, GMP_RNDN);
+ mpfr_set_str (mpc_imagref (x), "0x90p+244", 16, GMP_RNDN);
+ mpfr_set_str (mpc_realref (y), "0xACp-471", 16, GMP_RNDN);
+ mpfr_set_str (mpc_imagref (y), "-0xECp-146", 16, GMP_RNDN);
cmpmul (x, y, MPC_RNDNN);
for (prec = 2; prec < 1000; prec = (mpfr_prec_t) (prec * 1.1 + 1))