summaryrefslogtreecommitdiff
path: root/src/get_str.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2011-01-28 16:18:25 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2011-01-28 16:18:25 +0000
commite0d51c3df6b4d1cfdbe9d92cb23d1dfad1f86245 (patch)
tree62a0b833396611a95966996954008c01df5fc4b0 /src/get_str.c
parent2447a02da481599cf9d379c90fd6ffec6d20374b (diff)
downloadmpfr-e0d51c3df6b4d1cfdbe9d92cb23d1dfad1f86245.tar.gz
[src/get_str.c,TODO] updated comments, mpfr_get_str already supports base <= 62
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7439 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/get_str.c')
-rw-r--r--src/get_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/get_str.c b/src/get_str.c
index d89c32508..23eb04129 100644
--- a/src/get_str.c
+++ b/src/get_str.c
@@ -55,7 +55,7 @@ static const char num_to_text62[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
n is the number of limbs of r.
e represents the maximal error in the approximation of Y
(e < 0 iff the approximation is exact, i.e., r*2^f = Y).
- b is the wanted base (2 <= b <= 36).
+ b is the wanted base (2 <= b <= 62).
m is the number of wanted digits in the mantissa.
rnd is the rounding mode.
It is assumed that b^(m-1) <= Y < b^(m+1), thus the returned value
@@ -2224,7 +2224,7 @@ ceil_mul (mpfr_exp_t e, int beta, int i)
/* prints the mantissa of x in the string s, and writes the corresponding
exponent in e.
x is rounded with direction rnd, m is the number of digits of the mantissa,
- b is the given base (2 <= b <= 36).
+ b is the given base (2 <= b <= 62).
Return value:
if s=NULL, allocates a string to store the mantissa, with