fix formatting
This commit is contained in:
parent
edcfdea949
commit
17a6197819
|
@ -87,15 +87,10 @@ int main(int argc, char **argv)
|
|||
fix_duration += (fix_end - fix_start);
|
||||
}
|
||||
|
||||
printf("%16s: %08" PRIuHICLOCK " @ %" PRIu32 "Hz\n", flt_func_str,
|
||||
flt_duration, HICLOCKS_PER_SEC);
|
||||
printf("%16s: %08" PRIuHICLOCK " @ %" PRIu32 "Hz\n", fix_func_str,
|
||||
fix_duration, HICLOCKS_PER_SEC);
|
||||
printf(" Difference: %08" PRIiHICLOCK " (% 3.2f%%)\n",
|
||||
(flt_duration - fix_duration),
|
||||
((fix_duration * 100.0) / flt_duration));
|
||||
printf(" Error: %f%%\n",
|
||||
((fix16_to_dbl(fix_error) * 100.0) / (args * pass)));
|
||||
printf("%16s: %08" PRIuHICLOCK " @ %" PRIu32 "Hz\n", flt_func_str, flt_duration, HICLOCKS_PER_SEC);
|
||||
printf("%16s: %08" PRIuHICLOCK " @ %" PRIu32 "Hz\n", fix_func_str, fix_duration, HICLOCKS_PER_SEC);
|
||||
printf(" Difference: %08" PRIiHICLOCK " (% 3.2f%%)\n", (flt_duration - fix_duration), ((fix_duration * 100.0) / flt_duration));
|
||||
printf(" Error: %f%%\n", ((fix16_to_dbl(fix_error) * 100.0) / (args * pass)));
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue