Skip to content

Commit 73c0f04

Browse files
authored
Merge pull request #118 from pps83/icapp-fmt
Fix printf format in icapp
2 parents af3669b + 9df2d8d commit 73c0f04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/icapp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ void fpstat(unsigned char *in, size_t n, unsigned char *out, int s, unsigned cha
12951295
double mse = easumsqr/n, irange = imax - imin;
12961296
if(verbose >= 2) printf("\n");
12971297
//printf("Leading/Trailing bits [%.2f%%,%.2f%%=%.2f%%]. XOR[%.2f%%,%.2f%%=%.2f%%] Zigzag[%.2f%%]\n", BR(lb), BR(tb), BR(lb+tb), BR(xlb), BR(xtb), BR(xlb+xtb), BR(zlb)/*BR(elb), BR(mtb), BR(elb+mtb)*/ );
1298-
if(verbose >= 2) printf("Range: [min=%g / max=%g] = %g. zeros=[%u,%.2f%%], Distinct=[%u=%.4f%%] ctz=%.1f%%\n", imin, imax, irange);
1298+
if(verbose >= 2) printf("Range: [min=%g / max=%g] = %g\n", imin, imax, irange);
12991299
if(verbose > 3 || _tmp) printf("zeros=[%u,%.2f%%], Distinct=[%u=%.4f%%] ctz=%.1f%%\n", zero,(double)zero*100.0/(double)n, dup, (double)dup*100.0/(double)n, (double)((tb-itb)/8)*100.0/(double)(n*esize));
13001300
//printf("Min error: Absolute = %.12f, Relative = %f, pointwise relative = %f\n", eamin, eamin/irange, eamax/irange, ermax);
13011301
//printf("Avg error: Absolute = %.12f, Relative = %f, pointwise relative = %f\n", easum/idn, (easum/idn)/irange, ersum/idn);

0 commit comments

Comments
 (0)