Y
Hacker News
new
|
ask
|
show
|
jobs
by
caspervonb
2979 days ago
Splitting hairs, yes that uses bitwise operators, you can get away with either a modulus operator or a bitwise AND operator.