template.c: reformat the code
This commit is contained in:
parent
551933cddd
commit
19409e0860
@ -224,8 +224,6 @@ main(void)
|
||||
for (size_t seq = 0; seq < MAX; seq++) {
|
||||
if ((w + BLOCK_SIZE) >= PRODUCT)
|
||||
calc_block_size = PRODUCT - w;
|
||||
#else
|
||||
do {
|
||||
#endif
|
||||
|
||||
// * bytebeat generating loop
|
||||
@ -252,7 +250,8 @@ main(void)
|
||||
#elif IS_SIGNED
|
||||
intmax_t bytebeat_res = (intmax_t) bytebeat(floor((long double) w));
|
||||
#else
|
||||
uintmax_t bytebeat_res = (uintmax_t) bytebeat(floor((long double) w));
|
||||
uintmax_t bytebeat_res =
|
||||
(uintmax_t) bytebeat(floor((long double) w));
|
||||
#endif
|
||||
|
||||
// 2. if signed, then wrap up to unsigned
|
||||
@ -331,9 +330,9 @@ main(void)
|
||||
#if SEQUENTIAL_MODE
|
||||
fflush(output_file);
|
||||
#endif
|
||||
|
||||
#if SEQUENTIAL_MODE
|
||||
}
|
||||
#if !SEQUENTIAL_MODE
|
||||
while (0);
|
||||
#endif
|
||||
|
||||
// * free allocated heap
|
||||
@ -348,7 +347,7 @@ main(void)
|
||||
#if SEQUENTIAL_MODE && VERBOSE_MODE
|
||||
"\n"
|
||||
#endif
|
||||
"Done!\n");
|
||||
"Done!\n");
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user