summaryrefslogtreecommitdiff
path: root/src/set_d64.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-06-22 09:14:07 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-06-22 09:14:07 +0000
commitd9b66fb247c46a742a1ce8748c5c03b623b2cb88 (patch)
tree310b2ca763e3428d934874b75a0e108095a79a8a /src/set_d64.c
parentfa3172e80dad242b87af8cb32b3f349e125c05cc (diff)
downloadmpfr-d9b66fb247c46a742a1ce8748c5c03b623b2cb88.tar.gz
[src/set_d64.c] added comment
[src/set_d128.c] likewise git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12817 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/set_d64.c')
-rw-r--r--src/set_d64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/set_d64.c b/src/set_d64.c
index 76d2bdc9e..71fd191da 100644
--- a/src/set_d64.c
+++ b/src/set_d64.c
@@ -213,6 +213,7 @@ decimal64_to_string (char *s, _Decimal64 d)
{
i = mpn_get_str ((unsigned char*) t, 10, rp, rn);
}
+ /* convert the values from mpn_get_str (0, 1, ..., 9) to digits: */
while (i-- > 0)
*t++ += '0';
#endif /* DPD or BID */