Hrm, ok, Log2(p) can be negative if p is a proper fraction, and in this case it will be since it's freq/total.