Fast Integer Modulus in C++

Fast Integer Modulus in C++

Quite recently, I was benchmarking one of my favorite algorithms. I was trying to optimize it for speed and performance. What I found quite interesting are 3 facts: First of all, thank god for the beautiful and well done work on Microsoft Visual Studio 2017. I...