1 Index: squid/src/StatHist.c
2 diff -c squid/src/StatHist.c:1.26 squid/src/StatHist.c:1.26.2.1
3 *** squid/src/StatHist.c:1.26 Wed Oct 24 02:19:08 2001
4 --- squid/src/StatHist.c Thu Sep 1 15:52:23 2005
7 /* a max value should go into the last bin */
8 assert(statHistBin(H, max) == H->capacity - 1);
9 /* it is hard to test val_out, here is a crude test */
10 ! assert(((int) floor(0.99L + statHistVal(H, 0) - min)) == 0);
15 /* a max value should go into the last bin */
16 assert(statHistBin(H, max) == H->capacity - 1);
17 /* it is hard to test val_out, here is a crude test */
18 ! assert(((int) floor(0.99 + statHistVal(H, 0) - min)) == 0);