Hacker News new | ask | show | jobs
by raphlinus 3222 days ago
You're absolutely on the right track with a (wrapping) multiply and a shift right, but the constants aren't quite right.