avoid c++ comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
diff --git a/demo/timing.c b/demo/timing.c
index 78fce1e..a7edb79 100644
--- a/demo/timing.c
+++ b/demo/timing.c
@@ -66,7 +66,7 @@ static uint64_t TIMFUNC(void)
return result;
#endif
- // Microsoft and Intel Windows compilers
+ /* Microsoft and Intel Windows compilers */
#elif defined _M_IX86
__asm rdtsc
#elif defined _M_AMD64
@@ -82,9 +82,9 @@ static uint64_t TIMFUNC(void)
}
#define DO(x) x; x;
-//#define DO4(x) DO2(x); DO2(x);
-//#define DO8(x) DO4(x); DO4(x);
-//#define DO(x) DO8(x); DO8(x);
+/*#define DO4(x) DO2(x); DO2(x);*/
+/*#define DO8(x) DO4(x); DO4(x);*/
+/*#define DO(x) DO8(x); DO8(x);*/
#ifdef TIMING_NO_LOGS
#define FOPEN(a, b) NULL
diff --git a/etc/2kprime.c b/etc/2kprime.c
index a43e1b4..829474a 100644
--- a/etc/2kprime.c
+++ b/etc/2kprime.c
@@ -37,7 +37,7 @@ top:
if ((clock() - t1) > CLOCKS_PER_SEC) {
printf(".");
fflush(stdout);
-// sleep((clock() - t1 + CLOCKS_PER_SEC/2)/CLOCKS_PER_SEC);
+/* sleep((clock() - t1 + CLOCKS_PER_SEC/2)/CLOCKS_PER_SEC); */
t1 = clock();
}
diff --git a/etc/tune.c b/etc/tune.c
index 82e1796..a512a4e 100644
--- a/etc/tune.c
+++ b/etc/tune.c
@@ -31,7 +31,7 @@ static uint64_t TIMFUNC(void)
return result;
# endif
- // Microsoft and Intel Windows compilers
+ /* Microsoft and Intel Windows compilers */
# elif defined _M_IX86
__asm rdtsc
# elif defined _M_AMD64
diff --git a/mtest/mtest.c b/mtest/mtest.c
index 009655a..3492f73 100644
--- a/mtest/mtest.c
+++ b/mtest/mtest.c
@@ -293,7 +293,7 @@ int main(int argc, char *argv[])
rand_num2(&a);
rand_num2(&b);
rand_num2(&c);
-// if (c.dp[0]&1) mp_add_d(&c, 1, &c);
+/* if (c.dp[0]&1) mp_add_d(&c, 1, &c); */
a.sign = b.sign = c.sign = 0;
mp_exptmod(&a, &b, &c, &d);
printf("expt\n");