From f5f7883fc7cf47d38ed493a882fd7109bdd589bb Mon Sep 17 00:00:00 2001 From: zimmerma Date: Tue, 3 Mar 2009 16:51:07 +0000 Subject: GMP_RNDX -> MPFR_RNDX git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6053 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/thyperbolic.c | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'tests/thyperbolic.c') diff --git a/tests/thyperbolic.c b/tests/thyperbolic.c index 2c05989b7..660c64cda 100644 --- a/tests/thyperbolic.c +++ b/tests/thyperbolic.c @@ -43,7 +43,7 @@ check_NAN (void) /******cosh********/ - tester=mpfr_cosh(ch,t,GMP_RNDD); + tester=mpfr_cosh(ch,t,MPFR_RNDD); if (!MPFR_IS_NAN(ch) || tester!=0) { printf("cosh NAN \n"); @@ -53,7 +53,7 @@ check_NAN (void) /******sinh********/ - tester=mpfr_sinh(sh,t,GMP_RNDD); + tester=mpfr_sinh(sh,t,MPFR_RNDD); if (!MPFR_IS_NAN(sh) || tester!=0) { printf("sinh NAN \n"); @@ -63,7 +63,7 @@ check_NAN (void) /******tanh********/ - tester=mpfr_tanh(th,t,GMP_RNDD); + tester=mpfr_tanh(th,t,MPFR_RNDD); if (!MPFR_IS_NAN(th) || tester!=0) { printf("tanh NAN \n"); @@ -73,7 +73,7 @@ check_NAN (void) /******acosh********/ - tester=mpfr_acosh(ach,t,GMP_RNDD); + tester=mpfr_acosh(ach,t,MPFR_RNDD); if (!MPFR_IS_NAN(ach) || tester!=0) { printf("acosh NAN \n"); @@ -83,7 +83,7 @@ check_NAN (void) /******asinh********/ - tester=mpfr_asinh(ash,t,GMP_RNDD); + tester=mpfr_asinh(ash,t,MPFR_RNDD); if (!MPFR_IS_NAN(ash) || tester!=0) { printf("asinh NAN \n"); @@ -93,7 +93,7 @@ check_NAN (void) /******atanh********/ - tester=mpfr_atanh(ath,t,GMP_RNDD); + tester=mpfr_atanh(ath,t,MPFR_RNDD); if (!MPFR_IS_NAN(ath) || tester!=0) { printf("atanh NAN \n"); @@ -128,11 +128,11 @@ check_zero (void) mpfr_init2(ash,200); mpfr_init2(ath,200); - mpfr_set_ui(t,0,GMP_RNDD); + mpfr_set_ui(t,0,MPFR_RNDD); /******cosh********/ - tester = mpfr_cosh (ch, t, GMP_RNDD); + tester = mpfr_cosh (ch, t, MPFR_RNDD); if (mpfr_cmp_ui(ch, 1) || tester) { printf("cosh(0) \n"); @@ -142,7 +142,7 @@ check_zero (void) /******sinh********/ - tester = mpfr_sinh (sh, t, GMP_RNDD); + tester = mpfr_sinh (sh, t, MPFR_RNDD); if (!MPFR_IS_ZERO(sh) || tester) { printf("sinh(0) \n"); @@ -152,7 +152,7 @@ check_zero (void) /******tanh********/ - tester = mpfr_tanh (th, t, GMP_RNDD); + tester = mpfr_tanh (th, t, MPFR_RNDD); if (!MPFR_IS_ZERO(th) || tester) { printf("tanh(0) \n"); @@ -162,7 +162,7 @@ check_zero (void) /******acosh********/ - tester=mpfr_acosh(ach,t,GMP_RNDD); + tester=mpfr_acosh(ach,t,MPFR_RNDD); if (!MPFR_IS_NAN(ach) || tester) { printf("acosh(0) \n"); @@ -172,7 +172,7 @@ check_zero (void) /******asinh********/ - tester=mpfr_asinh(ash,t,GMP_RNDD); + tester=mpfr_asinh(ash,t,MPFR_RNDD); if (!MPFR_IS_ZERO(ash) || tester) { printf("asinh(0) \n"); @@ -182,7 +182,7 @@ check_zero (void) /******atanh********/ - tester=mpfr_atanh(ath,t,GMP_RNDD); + tester=mpfr_atanh(ath,t,MPFR_RNDD); if (!MPFR_IS_ZERO(ath) || tester) { printf("atanh(0) \n"); @@ -224,7 +224,7 @@ check_INF (void) /******cosh********/ - tester = mpfr_cosh(ch,t,GMP_RNDD); + tester = mpfr_cosh(ch,t,MPFR_RNDD); if (!MPFR_IS_INF(ch) || MPFR_SIGN(ch) < 0 || tester!=0) { printf("cosh(INF) \n"); @@ -234,7 +234,7 @@ check_INF (void) /******sinh********/ - tester=mpfr_sinh(sh,t,GMP_RNDD); + tester=mpfr_sinh(sh,t,MPFR_RNDD); if (!MPFR_IS_INF(sh) || MPFR_SIGN(sh) < 0 || tester!=0) { printf("sinh(INF) \n"); @@ -244,7 +244,7 @@ check_INF (void) /******tanh********/ - tester=mpfr_tanh(th,t,GMP_RNDD); + tester=mpfr_tanh(th,t,MPFR_RNDD); if (mpfr_cmp_ui(th,1) != 0 || tester!=0) { printf("tanh(INF) \n"); @@ -254,7 +254,7 @@ check_INF (void) /******acosh********/ - tester=mpfr_acosh(ach,t,GMP_RNDD); + tester=mpfr_acosh(ach,t,MPFR_RNDD); if (!MPFR_IS_INF(ach) || MPFR_SIGN(ach) < 0 || tester!=0) { printf("acosh(INF) \n"); @@ -264,7 +264,7 @@ check_INF (void) /******asinh********/ - tester=mpfr_asinh(ash,t,GMP_RNDD); + tester=mpfr_asinh(ash,t,MPFR_RNDD); if (!MPFR_IS_INF(ash) || MPFR_SIGN(ash) < 0 || tester!=0) { printf("asinh(INF) \n"); @@ -274,7 +274,7 @@ check_INF (void) /******atanh********/ - tester = mpfr_atanh (ath, t, GMP_RNDD); + tester = mpfr_atanh (ath, t, MPFR_RNDD); if (!MPFR_IS_NAN(ath) || tester != 0) { printf("atanh(INF) \n"); @@ -286,7 +286,7 @@ check_INF (void) /******cosh********/ - tester=mpfr_cosh(ch,t,GMP_RNDD); + tester=mpfr_cosh(ch,t,MPFR_RNDD); if (!MPFR_IS_INF(ch) || MPFR_SIGN(ch) < 0 || tester!=0) { printf("cosh(-INF) \n"); @@ -296,7 +296,7 @@ check_INF (void) /******sinh********/ - tester=mpfr_sinh(sh,t,GMP_RNDD); + tester=mpfr_sinh(sh,t,MPFR_RNDD); if (!MPFR_IS_INF(sh) || MPFR_SIGN(sh) > 0 || tester!=0) { printf("sinh(-INF) \n"); @@ -306,7 +306,7 @@ check_INF (void) /******tanh********/ - tester=mpfr_tanh(th,t,GMP_RNDD); + tester=mpfr_tanh(th,t,MPFR_RNDD); if (!mpfr_cmp_ui(th,-1) || tester!=0) { printf("tanh(-INF) \n"); @@ -316,7 +316,7 @@ check_INF (void) /******acosh********/ - tester=mpfr_acosh(ach,t,GMP_RNDD); + tester=mpfr_acosh(ach,t,MPFR_RNDD); if (!MPFR_IS_NAN(ach) || tester!=0) { printf("acosh(-INF) \n"); @@ -326,7 +326,7 @@ check_INF (void) /******asinh********/ - tester=mpfr_asinh(ash,t,GMP_RNDD); + tester=mpfr_asinh(ash,t,MPFR_RNDD); if (!MPFR_IS_INF(ash) || MPFR_SIGN(ash) > 0 || tester!=0) { printf("asinh(-INF) \n"); @@ -336,7 +336,7 @@ check_INF (void) /******atanh********/ - tester = mpfr_atanh (ath, t, GMP_RNDD); + tester = mpfr_atanh (ath, t, MPFR_RNDD); if (!MPFR_IS_NAN(ath) || tester != 0) { printf("atanh(-INF) \n"); -- cgit v1.2.1