예제 #1
0
파일: evalf.py 프로젝트: hridog00/Proyecto
def bitcount(n):
    return mpmath_bitcount(int(n))
예제 #2
0
def bitcount(n):
    """Return smallest integer, b, such that |n|/2**b < 1.
    """
    return mpmath_bitcount(abs(int(n)))
예제 #3
0
파일: evalf.py 프로젝트: arghdos/sympy
def bitcount(n):
    return mpmath_bitcount(int(n))
예제 #4
0
파일: evalf.py 프로젝트: certik/sympy
def bitcount(n):
    """Return smallest integer, b, such that |n|/2**b < 1.
    """
    return mpmath_bitcount(abs(int(n)))