示例#1
0
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)))