diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-10-18 13:28:28 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-10-18 13:28:28 +0000 |
commit | 3639a4eda0ba0dcbe2a1da2d5ae6238bccdb602b (patch) | |
tree | 7cb8128507be5b92ff54303586d90c1d097db854 /tests/tset_str.c | |
parent | fc7687382ba8c535246bc8a848321d06da2d934d (diff) | |
download | mpfr-3639a4eda0ba0dcbe2a1da2d5ae6238bccdb602b.tar.gz |
Change "unsigned int" to "int" for base in proto of strtofr.
Change set_str to use strtofr (Fix a bug too).
Limit base to 36 in strtofr (since get_str is limited to 36).
Update documentation to reflect the changes.
mpfr_get_d1 is moved to section internal in the documentation.
Update the tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3036 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_str.c')
-rw-r--r-- | tests/tset_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset_str.c b/tests/tset_str.c index 8ac2b6961..819e66992 100644 --- a/tests/tset_str.c +++ b/tests/tset_str.c @@ -57,7 +57,7 @@ check_underflow (void) emin = mpfr_get_emin (); mpfr_set_emin (-20); res = mpfr_set_str (a, "0.00000000001", 10, GMP_RNDZ); - if (!MPFR_IS_ZERO (a) || res == 0) + if (!MPFR_IS_ZERO (a) /*|| res == 0*/) { printf("ERROR for mpfr_set_str (a, \"0.00000000001\", 10, GMP_RNDN)\n" " with emin=-20\n" |