summaryrefslogtreecommitdiff
path: root/tests/tsqr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsqr.c')
-rw-r--r--tests/tsqr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tsqr.c b/tests/tsqr.c
index 02fea7e..2ec2099 100644
--- a/tests/tsqr.c
+++ b/tests/tsqr.c
@@ -1,6 +1,6 @@
/* tsqr -- test file for mpc_sqr.
-Copyright (C) 2002, 2005, 2008, 2010, 2011 INRIA
+Copyright (C) 2002, 2005, 2008, 2010, 2011, 2012 INRIA
This file is part of GNU MPC.
@@ -148,9 +148,9 @@ reuse_bug (void)
/* reuse bug found by Paul Zimmermann 20081021 */
mpc_init2 (z1, 2);
/* RE (z1^2) overflows, IM(z^2) = -0 */
- mpfr_set_str (mpc_realref (z1), "0.11", 2, GMP_RNDN);
- mpfr_mul_2si (mpc_realref (z1), mpc_realref (z1), mpfr_get_emax (), GMP_RNDN);
- mpfr_set_ui (mpc_imagref (z1), 0, GMP_RNDN);
+ mpfr_set_str (mpc_realref (z1), "0.11", 2, MPFR_RNDN);
+ mpfr_mul_2si (mpc_realref (z1), mpc_realref (z1), mpfr_get_emax (), MPFR_RNDN);
+ mpfr_set_ui (mpc_imagref (z1), 0, MPFR_RNDN);
mpc_conj (z1, z1, MPC_RNDNN);
mpc_sqr (z1, z1, MPC_RNDNN);
if (!mpfr_inf_p (mpc_realref (z1)) || mpfr_signbit (mpc_realref (z1))