diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-05-30 08:26:40 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-05-30 08:26:40 +0200 |
commit | d6ae12be7d08431f2890e85677d9256e2680e336 (patch) | |
tree | 070dd9594f6538ff09190a70099c69804d78d373 /doc | |
parent | 0187f2cf5771cd859d53e0ffcc5543180d90dab3 (diff) | |
download | gmp-d6ae12be7d08431f2890e85677d9256e2680e336.tar.gz |
doc/gmp.texi: Documentation for mpn_zero_p
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gmp.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi index 9a6a4b941..f23c6e4b2 100644 --- a/doc/gmp.texi +++ b/doc/gmp.texi @@ -5440,6 +5440,10 @@ positive value if @math{@var{s1} > @var{s2}}, 0 if they are equal, or a negative value if @math{@var{s1} < @var{s2}}. @end deftypefun +@deftypefun int mpn_zero_p (const mp_limb_t *@var{sp}, mp_size_t @var{n}) +Test @{@var{sp}, @var{n}@} and return 1 if the operand is zero, 0 otherwise. +@end deftypefun + @deftypefun mp_size_t mpn_gcd (mp_limb_t *@var{rp}, mp_limb_t *@var{xp}, mp_size_t @var{xn}, mp_limb_t *@var{yp}, mp_size_t @var{yn}) Set @{@var{rp}, @var{retval}@} to the greatest common divisor of @{@var{xp}, @var{xn}@} and @{@var{yp}, @var{yn}@}. The result can be up to @var{yn} limbs, |