summaryrefslogtreecommitdiff
path: root/doc/mpfr.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mpfr.texi')
-rw-r--r--doc/mpfr.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 4caa3cd50..89b7da28a 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -1735,6 +1735,10 @@ m = 1 + ceil(@var{p}*log(2)/log(@var{b})),
$m = 1 + \left\lceil @var{p} {\log 2 \over \log @var{b}} \right\rceil$,
@end tex
with @var{p} replaced by @var{p}@minus{}1 if @var{b} is a power of 2.
+
+The argument @var{b} must be in the range 2 to 62; this is the range of bases
+supported by the @code{mpfr_get_str} function. Note that contrary to the base
+argument of this function, negative values are not accepted.
@end deftypefun
@anchor{mpfr_get_str}