[Gmp-commit] /var/hg/gmp: (mpn_bdiv_qr_wrap): Make static.
mercurial at gmplib.org
mercurial at gmplib.org
Sat Nov 10 14:35:49 CET 2012
details: /var/hg/gmp/rev/47aea8fab3ce
changeset: 15106:47aea8fab3ce
user: Torbjorn Granlund <tege at gmplib.org>
date: Sat Nov 10 14:35:44 2012 +0100
description:
(mpn_bdiv_qr_wrap): Make static.
diffstat:
ChangeLog | 8 ++++++--
mpn/generic/remove.c | 4 ++--
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (50 lines):
diff -r b6c0092202d8 -r 47aea8fab3ce ChangeLog
--- a/ChangeLog Sun Nov 04 23:24:55 2012 +0100
+++ b/ChangeLog Sat Nov 10 14:35:44 2012 +0100
@@ -1,3 +1,7 @@
+2012-11-10 Torbjorn Granlund <tege at gmplib.org>
+
+ * mpn/generic/remove.c (mpn_bdiv_qr_wrap): Make static.
+
2012-11-04 Torbjorn Granlund <tege at gmplib.org>
* mpz/powm_ui.c: Rewrite.
@@ -68,7 +72,7 @@
* tests/mpz/t-remove.c: Run more test, but use a tad smaller operands.
- * mpn/generic/remove.c (mpn_bdiv_qr_wrap): New functions.
+ * mpn/generic/remove.c (mpn_bdiv_qr_wrap): New function.
(mpn_remove): Call mpn_bdiv_qr_wrap.
* mpz/remove.c: Enable suppressed mpn_remove call.
@@ -118,7 +122,7 @@
2012-06-24 Marco Bodrato <bodrato at mail.dm.unipi.it>
* configure.in (CALLING_CONVENTIONS_OBJS): Disable any use of
- assembly code whit the --disable-assembly option.
+ assembly code with the --disable-assembly option.
* mpz/oddfac_1.c: Use the ASSERT_CODE macro.
* gen-trialdivtab.c (mpz_log2): Use mpz_sizeinbase (., 2).
diff -r b6c0092202d8 -r 47aea8fab3ce mpn/generic/remove.c
--- a/mpn/generic/remove.c Sun Nov 04 23:24:55 2012 +0100
+++ b/mpn/generic/remove.c Sat Nov 10 14:35:44 2012 +0100
@@ -51,7 +51,7 @@
indicates a flaw in the current itch mechanism: Which operands not greater
than un,un will incur the worst itch? We need a parallel foo_maxitch set
of functions. */
-void
+static void
mpn_bdiv_qr_wrap (mp_ptr qp, mp_ptr rp,
mp_srcptr np, mp_size_t nn,
mp_srcptr dp, mp_size_t dn)
@@ -115,7 +115,7 @@
if (((mp_bitcnt_t) 2 << npowers) - 1 > cap)
break;
- nn = 2 * pn - 1; /* next power will be at least this many limbs */
+ nn = 2 * pn - 1; /* next power will be at least this large */
if (nn > qn)
break; /* next power would be overlarge */
More information about the gmp-commit
mailing list