summaryrefslogtreecommitdiff
path: root/tests/tcos.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcos.c')
-rw-r--r--tests/tcos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tcos.c b/tests/tcos.c
index 6332785..66a85ba 100644
--- a/tests/tcos.c
+++ b/tests/tcos.c
@@ -29,13 +29,13 @@ bug20090105 (void)
mpc_init2 (expected, 324);
mpc_init2 (got, 324);
- mpfr_set_str (MPC_RE(op), "-3.f1813b1487372434fea4414a520f65a343a16d0ec1ffb"
+ mpfr_set_str (mpc_realref(op), "-3.f1813b1487372434fea4414a520f65a343a16d0ec1ffb"
"b2b880154db8d63377ce788fc4215c450300@1", 16, GMP_RNDN);
- mpfr_set_str (MPC_IM(op), "-2.b7a0c80bcacf1ccbbac614bf53a58b672b1b503161bee"
+ mpfr_set_str (mpc_imagref(op), "-2.b7a0c80bcacf1ccbbac614bf53a58b672b1b503161bee"
"59a82e46a23570b652f7ba5f01ef766d1c50", 16,GMP_RNDN);
- mpfr_set_str (MPC_RE(expected), "7.57c5b08a2b11b660d906a354289b0724b9c4b237"
+ mpfr_set_str (mpc_realref(expected), "7.57c5b08a2b11b660d906a354289b0724b9c4b237"
"95abe33424e8d9858e534bd5d776ddd18e34b0240", 16, GMP_RNDN);
- mpfr_set_str (MPC_IM(expected), "-1.f41a389646d068e0263561cb3c5d1df763945ad"
+ mpfr_set_str (mpc_imagref(expected), "-1.f41a389646d068e0263561cb3c5d1df763945ad"
"ed9339f2a98387a3c4f97dbfd8a08b7d0af2f11b46", 16,GMP_RNDN);
mpc_cos (got, op, MPC_RNDNN);