Hacker News new | ask | show | jobs
by mpixel 934 days ago
Bitwise operators only work on the first 32-bits, so it isn't as easy as `instead of doing the Math.floor operations, check for edge cases and just the same operation as ~~`