1
0

template.c: reformat the code

This commit is contained in:
Intel A80486DX2-66 2024-01-29 19:16:02 +03:00
parent 551933cddd
commit 19409e0860
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -224,8 +224,6 @@ main(void)
for (size_t seq = 0; seq < MAX; seq++) { for (size_t seq = 0; seq < MAX; seq++) {
if ((w + BLOCK_SIZE) >= PRODUCT) if ((w + BLOCK_SIZE) >= PRODUCT)
calc_block_size = PRODUCT - w; calc_block_size = PRODUCT - w;
#else
do {
#endif #endif
// * bytebeat generating loop // * bytebeat generating loop
@ -252,7 +250,8 @@ main(void)
#elif IS_SIGNED #elif IS_SIGNED
intmax_t bytebeat_res = (intmax_t) bytebeat(floor((long double) w)); intmax_t bytebeat_res = (intmax_t) bytebeat(floor((long double) w));
#else #else
uintmax_t bytebeat_res = (uintmax_t) bytebeat(floor((long double) w)); uintmax_t bytebeat_res =
(uintmax_t) bytebeat(floor((long double) w));
#endif #endif
// 2. if signed, then wrap up to unsigned // 2. if signed, then wrap up to unsigned
@ -331,9 +330,9 @@ main(void)
#if SEQUENTIAL_MODE #if SEQUENTIAL_MODE
fflush(output_file); fflush(output_file);
#endif #endif
#if SEQUENTIAL_MODE
} }
#if !SEQUENTIAL_MODE
while (0);
#endif #endif
// * free allocated heap // * free allocated heap