←back to thread

420 points gnabgib | 1 comments | | HN request time: 0.488s | source
1. _heimdall ◴[] No.44001038[source]
> return ((y * 1073750999) & 3221352463) <= 126976;

> How does this work? The answer is surprisingly complex.

I don't think anyone is surprised in the complexity of any explanation for that algorithm :D