diff options
Diffstat (limited to 'tests/mpcheck-template3.c')
-rw-r--r-- | tests/mpcheck-template3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mpcheck-template3.c b/tests/mpcheck-template3.c index 506e7ac..821e570 100644 --- a/tests/mpcheck-template3.c +++ b/tests/mpcheck-template3.c @@ -35,7 +35,7 @@ FUN (mpfr_prec_t p, unsigned long n) { unsigned long i = 0; mpc_t x, y, z, t; - double complex xx, yy, zz; + TYPE complex xx, yy, zz; int inex; unsigned long errors = 0, max_err_re = 0, max_err_im = 0; @@ -52,10 +52,10 @@ FUN (mpfr_prec_t p, unsigned long n) inex = MPC_FOO (z, x, y, MPC_RNDNN); mpfr_subnormalize (mpc_realref (z), MPC_INEX_RE(inex), MPFR_RNDN); mpfr_subnormalize (mpc_imagref (z), MPC_INEX_IM(inex), MPFR_RNDN); - xx = mpc_get_dc (x, MPC_RNDNN); + xx = mpc_get_type (x, MPC_RNDNN); yy = mpc_get_dc (y, MPC_RNDNN); zz = CFOO(xx, yy); - mpc_set_dc (t, zz, MPFR_RNDN); + mpc_set_type (t, zz, MPFR_RNDN); if (mpc_cmp (z, t) != 0) { unsigned long err_re = ulp_error (mpc_realref (t), mpc_realref (z)); |