summaryrefslogtreecommitdiff
path: root/tests/tstrtofr.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-10-18 13:28:28 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-10-18 13:28:28 +0000
commit3639a4eda0ba0dcbe2a1da2d5ae6238bccdb602b (patch)
tree7cb8128507be5b92ff54303586d90c1d097db854 /tests/tstrtofr.c
parentfc7687382ba8c535246bc8a848321d06da2d934d (diff)
downloadmpfr-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/tstrtofr.c')
-rw-r--r--tests/tstrtofr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tstrtofr.c b/tests/tstrtofr.c
index 29cad883b..f88542ed6 100644
--- a/tests/tstrtofr.c
+++ b/tests/tstrtofr.c
@@ -142,6 +142,7 @@ check_special (void)
}
/* Check base 62 */
+#if 0
res = mpfr_strtofr (x, "A", NULL, 62, GMP_RNDN);
if (res != 0 || mpfr_cmp_ui (x, 10))
{
@@ -174,6 +175,7 @@ check_special (void)
putchar ('\n');
exit (1);
}
+#endif
mpfr_clear (x);
mpfr_clear (y);