Searched refs:log2sum (Results 1 – 1 of 1) sorted by relevance
75 double log2sum; in ZopfliCalculateEntropy() local79 log2sum = (sum == 0 ? log(n) : log(sum)) * kInvLog2; in ZopfliCalculateEntropy()84 if (count[i] == 0) bitlengths[i] = log2sum; in ZopfliCalculateEntropy()85 else bitlengths[i] = log2sum - log(count[i]) * kInvLog2; in ZopfliCalculateEntropy()