by raphlinus·9y ago·view on hn ↗You're absolutely on the right track with a (wrapping) multiply and a shift right, but the constants aren't quite right.