summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-05-16 17:34:25 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-05-16 17:34:25 +0000
commit747609d94cc396e753308fb595bc96190b08006d (patch)
tree2267852317f116ab5e70247118b0a1d1748a5e20
parent9511751e0ced73283a415b42efd9855d52d0cd91 (diff)
downloadmpfr-747609d94cc396e753308fb595bc96190b08006d.tar.gz
[src/vasprintf.c] Updated comment about the output for the 'a'/'A'
conversion specifier. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14518 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--src/vasprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vasprintf.c b/src/vasprintf.c
index 4320fffe2..de3b49fae 100644
--- a/src/vasprintf.c
+++ b/src/vasprintf.c
@@ -1042,7 +1042,8 @@ mpfr_get_str_wrapper (mpfr_exp_t *exp, int base, size_t n, mpfr_srcptr op,
Moreover, if one increases the output precision, the output form
changes (even if no rounding is involved). For instance, for 32,
"0x8p+2" changes to "0x2.0p+4" instead of "0x8.0p+2".
- FIXME?
+ FIXME: choose first digit = always 1. Discussion:
+ https://sympa.inria.fr/sympa/arc/mpfr/2021-05/msg00002.html
*/
static int
regular_ab (struct number_parts *np, mpfr_srcptr p,