diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-04-03 00:48:46 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-04-03 00:48:46 +0200 |
commit | 5d498b2d48b692cfbb706d35a8e94130f38f6a20 (patch) | |
tree | 084ccde2b23b968abc309146c55412b7387a4997 | |
parent | fcdde7d08c01833587da58de8942b0f48090575c (diff) | |
download | gmp-5d498b2d48b692cfbb706d35a8e94130f38f6a20.tar.gz |
Fix a typo in mpz_get_str.
-rw-r--r-- | gmp.texi | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2211,9 +2211,9 @@ allocation function (@pxref{Custom Allocation}). The block will be @code{strlen(str)+1} bytes, that being exactly enough for the string and null-terminator. -If @var{str} is not @code{NULL}, it should point to a block of storage enough -large for the result, that being @code{mpz_sizeinbase (@var{op}, @var{base}) + -2}. The two extra bytes are for a possible minus sign, and the +If @var{str} is not @code{NULL}, it should point to a block of storage large +enough for the result, that being @code{mpz_sizeinbase (@var{op}, @var{base}) ++ 2}. The two extra bytes are for a possible minus sign, and the null-terminator. A pointer to the result string is returned, being either the allocated block, |