diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-11-19 12:39:10 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-11-19 12:39:10 +0000 |
commit | 38c77249c6671159c0c7e40a73f1f5a3bc76dc8e (patch) | |
tree | fd12f35cf4b230dfcccf5eaf65a216f3ba0cdca7 /tests/tsgn.c | |
parent | 68d7536264604dfa93c6540d11fd292e6e14e3ff (diff) | |
download | mpfr-38c77249c6671159c0c7e40a73f1f5a3bc76dc8e.tar.gz |
Improve coverage tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3107 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsgn.c')
-rw-r--r-- | tests/tsgn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tsgn.c b/tests/tsgn.c index 2273ce775..ccbc4e136 100644 --- a/tests/tsgn.c +++ b/tests/tsgn.c @@ -33,21 +33,21 @@ check_special(void) mpfr_init(x); MPFR_SET_ZERO(x); - if (mpfr_sgn(x) != 0) + if ((mpfr_sgn) (x) != 0) { printf("Sgn error for 0.\n"); ret = 1; } MPFR_SET_INF(x); MPFR_SET_POS(x); - if (mpfr_sgn(x) != 1) + if ((mpfr_sgn) (x) != 1) { printf("Sgn error for +Inf.\n"); ret = 1; } MPFR_SET_INF(x); MPFR_SET_NEG(x); - if (mpfr_sgn(x) != -1) + if ((mpfr_sgn) (x) != -1) { printf("Sgn error for -Inf.\n"); ret = 1; |