[Gmp-commit] /var/hg/gmp: #if:ed out unused mpn_cnd_neg_itch.
mercurial at gmplib.org
mercurial at gmplib.org
Sat Feb 8 17:56:07 UTC 2014
details: /var/hg/gmp/rev/aba96e8f2841
changeset: 16283:aba96e8f2841
user: Niels M?ller <nisse at lysator.liu.se>
date: Sat Feb 08 18:55:39 2014 +0100
description:
#if:ed out unused mpn_cnd_neg_itch.
diffstat:
ChangeLog | 3 +++
mpn/generic/sec_invert.c | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
diffs (31 lines):
diff -r 4d73e11088f0 -r aba96e8f2841 ChangeLog
--- a/ChangeLog Sat Feb 08 17:15:10 2014 +0100
+++ b/ChangeLog Sat Feb 08 18:55:39 2014 +0100
@@ -1,5 +1,8 @@
2014-02-08 Niels Möller <nisse at lysator.liu.se>
+ * mpn/generic/sec_invert.c (mpn_cnd_neg_itch): #if:ed out unused
+ function.
+
* mpn/generic/sec_div.c: Simplified code for the normalized case.
* tests/mpn/t-div.c (main): Test mpn_sec_div_qr and mpn_sec_div_r
diff -r 4d73e11088f0 -r aba96e8f2841 mpn/generic/sec_invert.c
--- a/mpn/generic/sec_invert.c Sat Feb 08 17:15:10 2014 +0100
+++ b/mpn/generic/sec_invert.c Sat Feb 08 18:55:39 2014 +0100
@@ -33,11 +33,15 @@
#include "gmp.h"
#include "gmp-impl.h"
+#if 0
+/* Currently unused. Should be resurrected once mpn_cnd_neg is
+ advertised. */
static mp_size_t
mpn_cnd_neg_itch (mp_size_t n)
{
return n;
}
+#endif
/* FIXME: Ought to return carry */
static void
More information about the gmp-commit
mailing list