summaryrefslogtreecommitdiff
path: root/tests/tsub1sp.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/tsub1sp.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/tsub1sp.c')
-rw-r--r--tests/tsub1sp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsub1sp.c b/tests/tsub1sp.c
index 3983a9f6a..3e36a3369 100644
--- a/tests/tsub1sp.c
+++ b/tests/tsub1sp.c
@@ -470,7 +470,7 @@ void check_special(void)
STD_ERROR2;
es = mpfr_get_emin ();
- mpfr_set_emin (-1024);
+ set_emin (-1024);
mpfr_set_str_binary (y,
"0.10000000000000000000000000000000"
@@ -498,7 +498,7 @@ void check_special(void)
if (inexact1 != inexact2)
STD_ERROR2;
- mpfr_set_emin(es);
+ set_emin (es);
}