summaryrefslogtreecommitdiff
path: root/tests/ttanh.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2004-10-26 01:49:26 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2004-10-26 01:49:26 +0000
commitc095768f11e0d5034a15efdd4c5d9938f9683433 (patch)
tree1a429d1984c151a0e0c9c1bf80ee68a6b7702f0c /tests/ttanh.c
parent1183042badcf844d47a624f900f53c04292b3372 (diff)
downloadmpfr-c095768f11e0d5034a15efdd4c5d9938f9683433.tar.gz
Replaced mpfr_set_emin/emax by set_emin/emax in tests to check
the return value; defined set_emin/emax in "tests/tests.c". Fix: added missing #include <string.h> in "tests/tests.c". Removed variable names in prototypes in "mpfr-test.h". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3058 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/ttanh.c')
-rw-r--r--tests/ttanh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ttanh.c b/tests/ttanh.c
index c99c8331c..f66aa170c 100644
--- a/tests/ttanh.c
+++ b/tests/ttanh.c
@@ -60,8 +60,8 @@ special_overflow (void)
{
mpfr_t x, y;
- mpfr_set_emin (-125);
- mpfr_set_emax (128);
+ set_emin (-125);
+ set_emax (128);
mpfr_init2 (x, 24);
mpfr_init2 (y, 24);
mpfr_set_str_binary (x, "0.101100100000000000110100E7");
@@ -74,8 +74,8 @@ special_overflow (void)
}
mpfr_clear (y);
mpfr_clear (x);
- mpfr_set_emin (MPFR_EMIN_MIN);
- mpfr_set_emax (MPFR_EMAX_MAX);
+ set_emin (MPFR_EMIN_MIN);
+ set_emax (MPFR_EMAX_MAX);
}
int