diff options
author | Niels Möller <nisse@lysator.liu.se> | 2011-05-09 21:38:01 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2011-05-09 21:38:01 +0200 |
commit | 1a4674af539c26d915e230a8e6888ad2460c7ad8 (patch) | |
tree | 7445da7f00cb76c76cd90370b9d11faf2a53c331 /doc/gmp.texi | |
parent | 47335917564f5e80429febf9f08174887e265dd4 (diff) | |
download | gmp-1a4674af539c26d915e230a8e6888ad2460c7ad8.tar.gz |
Fixed allocation for mpn_gcdext cofactor argument.
Diffstat (limited to 'doc/gmp.texi')
-rw-r--r-- | doc/gmp.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi index 1c7c10b8c..896b85299 100644 --- a/doc/gmp.texi +++ b/doc/gmp.texi @@ -5379,9 +5379,10 @@ is not computed but can easily be obtained from @m{(G - US) / V, (@var{G} - 0} if and only if @math{V} divides @math{U} (i.e., @math{G = V}). Store @math{G} at @var{gp} and let the return value define its limb count. -Store @math{S} at @var{sp} and let |*@var{sn}| define its limb count. @math{S} -can be negative; when this happens *@var{sn} will be negative. The areas at -@var{gp} and @var{sp} should each have room for @var{vn} limbs. +Store @math{S} at @var{sp} and let |*@var{sn}| define its limb count. @math{S} +can be negative; when this happens *@var{sn} will be negative. The area at +@var{gp} should have room for @var{vn} limbs and the area at @var{sp} should +have room for @math{@var{vn}+1} limbs. Both source operands are destroyed. |