Ejemplo n.º 1
0
def bitcount(n):
    return mpmath_bitcount(int(n))
Ejemplo n.º 2
0
def bitcount(n):
    """Return smallest integer, b, such that |n|/2**b < 1.
    """
    return mpmath_bitcount(abs(int(n)))
Ejemplo n.º 3
0
def bitcount(n):
    return mpmath_bitcount(int(n))
Ejemplo n.º 4
0
def bitcount(n):
    """Return smallest integer, b, such that |n|/2**b < 1.
    """
    return mpmath_bitcount(abs(int(n)))