summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2012-03-04 09:01:32 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2012-03-04 09:01:32 +0100
commit87e09c83f5a17255452a0a0512497bb5413a4d48 (patch)
tree68026af4194b7c72e2777d42d5b552570b3bb94a /doc
parente6460b34939dd6276e0a7454dba41f5a73c94c2e (diff)
downloadgmp-87e09c83f5a17255452a0a0512497bb5413a4d48.tar.gz
doc/gmp.texi (mpz_invert): Specify mod 0 is not handled.
Diffstat (limited to 'doc')
-rw-r--r--doc/gmp.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi
index bbe0900d8..6e4b6e475 100644
--- a/doc/gmp.texi
+++ b/doc/gmp.texi
@@ -3585,8 +3585,9 @@ Set @var{rop} to the least common multiple of @var{op1} and @var{op2}.
@cindex Inverse modulo functions
Compute the inverse of @var{op1} modulo @var{op2} and put the result in
@var{rop}. If the inverse exists, the return value is non-zero and @var{rop}
-will satisfy @math{0 < @var{rop} < @var{@GMPabs{op2}}}. If an inverse doesn't exist
-the return value is zero and @var{rop} is undefined.
+will satisfy @math{0 < @var{rop} < @var{@GMPabs{op2}}}. If an inverse doesn't
+exist the return value is zero and @var{rop} is undefined. The behaviour of
+this function is undefined when @var{op2} is zero.
@end deftypefun
@deftypefun int mpz_jacobi (mpz_t @var{a}, mpz_t @var{b})