diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2020-01-03 14:21:59 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2020-01-03 14:21:59 +0100 |
commit | 48adcd3f8662551566dbed96ce2070cdab6428f5 (patch) | |
tree | 537046be6f7df1a0a2ea212a7656b13dacf98348 /doc | |
parent | 185313095ff527161aec1b67e945f3bedd3f2c5c (diff) | |
download | gmp-48adcd3f8662551566dbed96ce2070cdab6428f5.tar.gz |
doc/gmp.texi (mpn_gcd): Document restriction on parity of operands.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gmp.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi index 11250e6b8..a69d0e9b0 100644 --- a/doc/gmp.texi +++ b/doc/gmp.texi @@ -5493,8 +5493,9 @@ Set @{@var{rp}, @var{retval}@} to the greatest common divisor of @{@var{xp}, the return value is the actual number produced. Both source operands are destroyed. -It is required that @math{@var{xn} @ge @var{yn} > 0}, and the most significant -limb of @{@var{yp}, @var{yn}@} must be non-zero. No overlap is permitted +It is required that @math{@var{xn} @ge @var{yn} > 0}, the most significant +limb of @{@var{yp}, @var{yn}@} must be non-zero, and at least one of +the two operands must be odd. No overlap is permitted between @{@var{xp}, @var{xn}@} and @{@var{yp}, @var{yn}@}. @end deftypefun |