Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asteroidfodder
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
asteroidfodder
10y ago
Looks like count_bits loops infinitely if given a negative number. The wiki ( https://wiki.python.org/moin/BitwiseOperators ) says: Of course, Python doesn't use 8-bit numbers. It USED to use however many bits were