diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-11-22 15:29:37 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-11-22 15:29:37 +0000 |
commit | abef544a9ad8b0f26c7cdab5dd476794b769b945 (patch) | |
tree | 0bb6f2b45f8e84f12a9570c97696454718f8491c /src/get_str.c | |
parent | 9b1d0f678b294011d86a8f80ea141d0805bd8e75 (diff) | |
download | mpfr-abef544a9ad8b0f26c7cdab5dd476794b769b945.tar.gz |
MPFR manual: corrected/completed the mpfr_get_str description in order
to follow the historical behavior and GMP's mpf_get_str function.
(Discussion in the Trier meeting.)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13283 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/get_str.c')
-rw-r--r-- | src/get_str.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/get_str.c b/src/get_str.c index e79bcf21a..a8f656ce0 100644 --- a/src/get_str.c +++ b/src/get_str.c @@ -2549,6 +2549,7 @@ mpfr_get_str_ndigits (int b, mpfr_prec_t p) 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 <= 62 or -36 <= b <= -2). + This follows GMP's mpf_get_str specification. Return value: if s=NULL, allocates a string to store the mantissa, with |