Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How do compilers optimize divisions?.
This is wrong, the divisor and dividend are the wrong way around.
..and in case anyone else is wondering how those numbers relate to the constant in the code, it's
2^37 / (2938661835 + 2^32)
This is wrong, the divisor and dividend are the wrong way around.
..and in case anyone else is wondering how those numbers relate to the constant in the code, it's