[Gmp-commit] /var/hg/gmp: Fixed mpn_gcdext compatibility note; older versions...

mercurial at gmplib.org mercurial at gmplib.org
Wed May 4 21:26:22 CEST 2011


details:   /var/hg/gmp/rev/a3182d4a8628
changeset: 14163:a3182d4a8628
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Wed May 04 21:26:01 2011 +0200
description:
Fixed mpn_gcdext compatibility note; older versions needed space for
gp and sp corresponding to the *larger* input (plus one extra).

diffstat:

 doc/gmp.texi |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r faf4456f5481 -r a3182d4a8628 doc/gmp.texi
--- a/doc/gmp.texi	Wed May 04 21:09:09 2011 +0200
+++ b/doc/gmp.texi	Wed May 04 21:26:01 2011 +0200
@@ -5387,11 +5387,11 @@
 
 Compatibility notes: GMP 4.3.0 and 4.3.1 defined @math{S} less strictly.
 Earlier as well as later GMP releases define @math{S} as described here.
-GMP releases before GMP 4.3.0 required allocation of an extra limb for both
-input and output areas. More precisely, the areas
-@{@var{up}, @math{@var{un}+1}@} and @{@var{vp}, @math{@var{vn}+1}@} were
-destroyed, and the areas pointed to by
- at var{gp} and @var{sp} should each have room for @math{@var{vn}+1} limbs.
+GMP releases before GMP 4.3.0 required additional space for both input and output
+areas. More precisely, the areas @{@var{up}, @math{@var{un}+1}@} and
+@{@var{vp}, @math{@var{vn}+1}@} were destroyed (i.e.@: the operands plus an
+extra limb past the end of each), and the areas pointed to by @var{gp} and
+ at var{sp} should each have room for @math{@var{un}+1} limbs.
 
 @end deftypefun
 


More information about the gmp-commit mailing list