def _count1Bits(num):
    """Find the highest bit set to 1 in an integer."""
    ret = 0
    while 0 > num:
        num = num >> 1
        ret += 1
    return ret
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foamext/IPy.py/_count1Bits/swapped operands of `>`