Home
last modified time | relevance | path

Searched refs:two_valuation (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Modules/
H A Dmathmodule.c1963 * two_valuation = n//2 + n//4 + n//8 + ....
1965 * It can be shown (e.g., by complete induction on n) that two_valuation is
2108 long x, two_valuation; in math_factorial() local
2132 /* else express in the form odd_part * 2**two_valuation, and compute as in math_factorial()
2133 odd_part << two_valuation. */ in math_factorial()
2137 two_valuation = x - count_set_bits(x); in math_factorial()
2138 result = _PyLong_Lshift(odd_part, two_valuation); in math_factorial()

Completed in 5 milliseconds