[Gmp-commit] /var/hg/gmp: Add comment about internal reliance on undocumented...

mercurial at gmplib.org mercurial at gmplib.org
Fri Jun 1 18:42:41 CEST 2012


details:   /var/hg/gmp/rev/3a0f5532e92e
changeset: 15040:3a0f5532e92e
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Jun 01 18:42:28 2012 +0200
description:
Add comment about internal reliance on undocumented property.

diffstat:

 mpn/generic/get_str.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r ac9e31000e89 -r 3a0f5532e92e mpn/generic/get_str.c
--- a/mpn/generic/get_str.c	Fri Jun 01 18:30:10 2012 +0200
+++ b/mpn/generic/get_str.c	Fri Jun 01 18:42:28 2012 +0200
@@ -350,7 +350,8 @@
 
 
 /* There are no leading zeros on the digits generated at str, but that's not
-   currently a documented feature.  */
+   currently a documented feature.  The current mpz_out_str and mpz_get_str
+   rely on it.  */
 
 size_t
 mpn_get_str (unsigned char *str, int base, mp_ptr up, mp_size_t un)


More information about the gmp-commit mailing list