[Gmp-commit] /var/hg/gmp: Avoid // comments.

mercurial at gmplib.org mercurial at gmplib.org
Wed Jun 6 14:21:59 CEST 2012


details:   /var/hg/gmp/rev/296c16554698
changeset: 15048:296c16554698
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed Jun 06 14:21:56 2012 +0200
description:
Avoid // comments.

diffstat:

 mpn/x86_64/k10/gmp-mparam.h |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r e990d19748a4 -r 296c16554698 mpn/x86_64/k10/gmp-mparam.h
--- a/mpn/x86_64/k10/gmp-mparam.h	Tue Jun 05 00:00:20 2012 +0200
+++ b/mpn/x86_64/k10/gmp-mparam.h	Wed Jun 06 14:21:56 2012 +0200
@@ -21,10 +21,12 @@
 #define GMP_LIMB_BITS 64
 #define BYTES_PER_MP_LIMB 8
 
-// #undef mpn_sublsh_n
-// #define mpn_sublsh_n(rp,up,vp,n,c)					\
-//    (((rp) == (up)) ? mpn_submul_1 (rp, vp, n, CNST_LIMB(1) << (c))	\
-//      : MPN(mpn_sublsh_n)(rp,up,vp,n,c))
+#if 0
+#undef mpn_sublsh_n
+#define mpn_sublsh_n(rp,up,vp,n,c)					\
+  (((rp) == (up)) ? mpn_submul_1 (rp, vp, n, CNST_LIMB(1) << (c))	\
+   : MPN(mpn_sublsh_n)(rp,up,vp,n,c))
+#endif
 
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */


More information about the gmp-commit mailing list