News for hackers. Stuff that matters.
Re:How do compilers optimize divisions? by caf on Monday February 20, 2017 @07:52PM (#13692367)
The result of 7233629131 / 137438953472 is 18.999999997649866.

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)
Re:How do compilers optimize divisions? by jwilk on Tuesday February 21, 2017 @08:11PM (#13701972)
It's been fixed.