def to_bin(self, x):
            if x < 0.0:
                raise ValueError('Values less than 0.0 not accepted.')
            elif x > self._max:
                return self._bins - 1
            else:
                scaled = self._scale / x
                return int(-0.5 + math.sqrt(2.0 * scaled + 0.25))
dataset/ETHPy150Open dpkp/kafka-python/kafka/metrics/stats/histogram.py/Histogram.LinearBinScheme.to_bin/swapped operands of `/`