summaryrefslogtreecommitdiff
path: root/tests/tmul.c
diff options
context:
space:
mode:
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 46d3bb3..225cf0e 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -102,15 +102,15 @@ check_regular (void)
imaginary part */
mpc_set_prec (x, 7);
mpc_set_prec (y, 7);
- 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);
+ mpfr_set_str (mpc_realref (x), "0xB4p+733", 16, MPFR_RNDN);
+ mpfr_set_str (mpc_imagref (x), "0x90p+244", 16, MPFR_RNDN);
+ mpfr_set_str (mpc_realref (y), "0xECp-146", 16, MPFR_RNDN);
+ mpfr_set_str (mpc_imagref (y), "0xACp-471", 16, MPFR_RNDN);
cmpmul (x, y, MPC_RNDNN);
- 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);
+ mpfr_set_str (mpc_realref (x), "0xB4p+733", 16, MPFR_RNDN);
+ mpfr_set_str (mpc_imagref (x), "0x90p+244", 16, MPFR_RNDN);
+ mpfr_set_str (mpc_realref (y), "0xACp-471", 16, MPFR_RNDN);
+ mpfr_set_str (mpc_imagref (y), "-0xECp-146", 16, MPFR_RNDN);
cmpmul (x, y, MPC_RNDNN);
for (prec = 2; prec < 1000; prec = (mpfr_prec_t) (prec * 1.1 + 1))