Home
last modified time | relevance | path

Searched refs:count_set_bits (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
Dmathmodule.c1444 count_set_bits(unsigned long n) in count_set_bits() function
1702 two_valuation = PyLong_FromLong(x - count_set_bits(x)); in math_factorial()
/external/python/cpython3/Lib/test/
Dtest_math.py97 def count_set_bits(n): function
99 return 1 + count_set_bits(n & n - 1) if n else 0
124 return outer << (n - count_set_bits(n))