diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-10-26 01:49:26 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-10-26 01:49:26 +0000 |
commit | c095768f11e0d5034a15efdd4c5d9938f9683433 (patch) | |
tree | 1a429d1984c151a0e0c9c1bf80ee68a6b7702f0c /tests/tset_exp.c | |
parent | 1183042badcf844d47a624f900f53c04292b3372 (diff) | |
download | mpfr-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/tset_exp.c')
-rw-r--r-- | tests/tset_exp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tset_exp.c b/tests/tset_exp.c index 27381345a..9e29206f2 100644 --- a/tests/tset_exp.c +++ b/tests/tset_exp.c @@ -38,11 +38,11 @@ main (int argc, char *argv[]) ret = mpfr_set_exp (x, 2); MPFR_ASSERTN(ret == 0 && mpfr_cmp_ui (x, 2) == 0); - mpfr_set_emin (-1); + set_emin (-1); ret = mpfr_set_exp (x, -1); MPFR_ASSERTN(ret == 0 && mpfr_cmp_ui_2exp (x, 1, -2) == 0); - mpfr_set_emax (1); + set_emax (1); ret = mpfr_set_exp (x, 1); MPFR_ASSERTN(ret == 0 && mpfr_cmp_ui (x, 1) == 0); |