summaryrefslogtreecommitdiff
path: root/tests/tcosh.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-09-19 11:17:49 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-09-19 11:17:49 +0000
commitf4f7fe967cee583595999be3267f3c253064fa3e (patch)
tree5d9efd557b23ca31a5921219c05f41b00f9c7932 /tests/tcosh.c
parente544b22eb979c53b5bea256ab8ff0c29f5756ffe (diff)
downloadmpc-f4f7fe967cee583595999be3267f3c253064fa3e.tar.gz
merge trunk into branch rootsunityrootsunity
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/rootsunity@1273 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tcosh.c')
-rw-r--r--tests/tcosh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tcosh.c b/tests/tcosh.c
index 57b5601..0d6a9da 100644
--- a/tests/tcosh.c
+++ b/tests/tcosh.c
@@ -1,6 +1,6 @@
/* test file for mpc_cosh.
-Copyright (C) 2008, 2009, 2010, 2011 INRIA
+Copyright (C) 2008, 2009, 2010, 2011, 2012 INRIA
This file is part of GNU MPC.
@@ -38,8 +38,8 @@ pure_real_argument (void)
/* cosh(1 +i*0) = cosh(1) +i*0 */
mpc_set_ui_ui (z, 1, 0, MPC_RNDNN);
- mpfr_cosh (mpc_realref (u), mpc_realref (z), GMP_RNDN);
- mpfr_set_ui (mpc_imagref (u), 0, GMP_RNDN);
+ mpfr_cosh (mpc_realref (u), mpc_realref (z), MPFR_RNDN);
+ mpfr_set_ui (mpc_imagref (u), 0, MPFR_RNDN);
mpc_cosh (cosh_z, z, MPC_RNDNN);
if (mpc_cmp (cosh_z, u) != 0 || mpfr_signbit (mpc_imagref (cosh_z)))
TEST_FAILED ("mpc_cosh", z, cosh_z, u, MPC_RNDNN);
@@ -84,8 +84,8 @@ pure_imaginary_argument (void)
/* cosh(+0 +i) = cos(1) + i*0 */
mpc_set_ui_ui (z, 0, 1, MPC_RNDNN);
- mpfr_cos (mpc_realref (u), mpc_imagref (z), GMP_RNDN);
- mpfr_set_ui (mpc_imagref (u), 0, GMP_RNDN);
+ mpfr_cos (mpc_realref (u), mpc_imagref (z), MPFR_RNDN);
+ mpfr_set_ui (mpc_imagref (u), 0, MPFR_RNDN);
mpc_cosh (cosh_z, z, MPC_RNDNN);
if (mpc_cmp (cosh_z, u) != 0 || mpfr_signbit (mpc_imagref (cosh_z)))
TEST_FAILED ("mpc_cosh", z, cosh_z, u, MPC_RNDNN);