summaryrefslogtreecommitdiff
path: root/doc/gmp.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gmp.texi')
-rw-r--r--doc/gmp.texi10
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