summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-11-26 16:22:04 +0100
committertege <tege@gmplib.org>2001-11-26 16:22:04 +0100
commit0a20d23ef856ae145409e2f128c4f731f8a225e1 (patch)
tree62453930de29e2877bce698c418109f2b912bc2a
parent621d6f0c1f709900fd59b0c2d80237637c0e5e3f (diff)
downloadgmp-0a20d23ef856ae145409e2f128c4f731f8a225e1.tar.gz
Update _mpz_realloc documentation.
-rw-r--r--gmp.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/gmp.texi b/gmp.texi
index df0c0181c..77c91571d 100644
--- a/gmp.texi
+++ b/gmp.texi
@@ -2332,9 +2332,8 @@ Change the space for @var{integer} to @var{new_alloc} limbs. The return value
is not useful to applications and should be ignored. @code{mpz_realloc2} is
the preferred way to accomplish size changes like this.
-Note that currently there is no protection against @var{new_alloc} being
-smaller than the current value in @var{integer}. This might change in the
-future.
+If the requested new space is not sufficient for the current variable value,
+the value is cleared to 0.
@end deftypefun