def _bitsfor(maxval):
    maxvalbits = int(round(math.log(maxval)/math.log(2)))
    if maxval != (1 << maxvalbits):
        raise ValueError("maxval must be a power of 2, not %d" % maxval)
    return maxvalbits
Return the itemData stored in the currently-selected item
dataset/ETHPy150Open dpwe/audfprint/hash_table.py/_bitsfor--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/utils/qt/widget_properties.py/CurrentTabProperty.getter