Code: Select all
s32 m = histTblg[fig][fs][ts];
s32 n = histTbln[fig][fs][ts];
if(n > 49 && m/n < 16) {
reduce += (int)(1.0 + sqrt(sqrt(depth) * sqrt(count)) / (log(m/n+1)+1));
}
R = 1 + sqrt(2 x 4) / 2.2 = 1
however if hist% = 0 it would look like this
r = 1 + sqrt(2 x 4) / 1 = 3
An extreme case might look like
r = 1 + sqrt(6 x 10) / 1 = 8;