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/tasin.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/tasin.c')
-rw-r--r-- | tests/tasin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tasin.c b/tests/tasin.c index 12bdaf579..f09ed4235 100644 --- a/tests/tasin.c +++ b/tests/tasin.c @@ -157,8 +157,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, 48); mpfr_set_str_binary (x, "0.101100100000000000110100E0"); @@ -172,8 +172,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 |