Fixed a couple printf usage errors.

This commit is contained in:
Lewis Van Winkle
2016-01-24 20:43:49 -06:00
parent 00f8febe43
commit 6e0e01f67b
2 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ void bench(const char *expr, te_fun1 func) {
/*Million floats per second input.*/
printf(" %.5g", d);
if (nelapsed)
printf("\t%5dms\t%5lumfps\n", nelapsed, loops * loops / nelapsed / 1000);
printf("\t%5dms\t%5dmfps\n", nelapsed, loops * loops / nelapsed / 1000);
else
printf("\tinf\n");
@@ -79,7 +79,7 @@ void bench(const char *expr, te_fun1 func) {
/*Million floats per second input.*/
printf(" %.5g", d);
if (eelapsed)
printf("\t%5dms\t%5lumfps\n", eelapsed, loops * loops / eelapsed / 1000);
printf("\t%5dms\t%5dmfps\n", eelapsed, loops * loops / eelapsed / 1000);
else
printf("\tinf\n");