[Gmp-commit] /home/hgfiles/gmp: Added const to the bignum input of mpn_mod_1.
mercurial at gmplib.org
mercurial at gmplib.org
Mon May 3 17:48:24 CEST 2010
details: /home/hgfiles/gmp/rev/5e6cd421f57e
changeset: 13594:5e6cd421f57e
user: Niels M?ller <nisse at lysator.liu.se>
date: Mon May 03 17:47:30 2010 +0200
description:
Added const to the bignum input of mpn_mod_1.
diffstat:
doc/gmp.texi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8a04fae7a4b1 -r 5e6cd421f57e doc/gmp.texi
--- a/doc/gmp.texi Mon May 03 14:50:07 2010 +0200
+++ b/doc/gmp.texi Mon May 03 17:47:30 2010 +0200
@@ -5322,7 +5322,7 @@
@code{mp_bits_per_limb} is even, which is always so currently).
@end deftypefn
- at deftypefun mp_limb_t mpn_mod_1 (mp_limb_t *@var{s1p}, mp_size_t @var{s1n}, mp_limb_t @var{s2limb})
+ at deftypefun mp_limb_t mpn_mod_1 (const mp_limb_t *@var{s1p}, mp_size_t @var{s1n}, mp_limb_t @var{s2limb})
Divide @{@var{s1p}, @var{s1n}@} by @var{s2limb}, and return the remainder.
@var{s1n} can be zero.
@end deftypefun
More information about the gmp-commit
mailing list