avoid c++ comments

This commit is contained in:
Karel Miko 2018-12-02 13:12:30 +01:00
parent 0493739d2b
commit d7f124f563
4 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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();
}

View File

@ -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

View File

@ -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");