diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-12-28 16:33:49 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-12-28 16:33:49 +0100 |
commit | c8e3713b3ff9ce41596c21b7a91e954eb3a145be (patch) | |
tree | 59b781d937205731180ff9adb4469639326c480a /doc/gmp.texi | |
parent | 2da4e1d48ab00b6bf530710877d67284b88ef0e8 (diff) | |
download | gmp-c8e3713b3ff9ce41596c21b7a91e954eb3a145be.tar.gz |
New public functions mpn_com and mpn_neg. (Were internal and with _n suffix.)
Diffstat (limited to 'doc/gmp.texi')
-rw-r--r-- | doc/gmp.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi index e77e2289a..bb3fc0343 100644 --- a/doc/gmp.texi +++ b/doc/gmp.texi @@ -5167,6 +5167,11 @@ This function requires that @var{s1n} is greater than or equal to @var{s2n}. @end deftypefun +@deftypefun void mpn_neg_n (mp_limb_t *@var{rp}, const mp_limb_t *@var{sp}, mp_size_t @var{n}) +Perform the negation of @{@var{sp}, @var{n}@}, and write the result to +@{@var{rp}, @var{n}@}. Return carry-out. +@end deftypefun + @deftypefun void mpn_mul_n (mp_limb_t *@var{rp}, const mp_limb_t *@var{s1p}, const mp_limb_t *@var{s2p}, mp_size_t @var{n}) Multiply @{@var{s1p}, @var{n}@} and @{@var{s2p}, @var{n}@}, and write the 2*@var{n}-limb result to @var{rp}. @@ -5525,6 +5530,11 @@ Perform the bitwise logical exclusive or of @{@var{s1p}, @var{n}@} and @{@var{rp}, @var{n}@}. @end deftypefun +@deftypefun void mpn_com_n (mp_limb_t *@var{rp}, const mp_limb_t *@var{sp}, mp_size_t @var{n}) +Perform the bitwise complement of @{@var{sp}, @var{n}@}, and write the result +to @{@var{rp}, @var{n}@}. +@end deftypefun + @deftypefun void mpn_copyi (mp_limb_t *@var{rp}, const mp_limb_t *@var{s1p}, mp_size_t @var{n}) Copy from @{@var{s1p}, @var{n}@} to @{@var{rp}, @var{n}@}, increasingly. @end deftypefun |