Dissecting Lemire's nearly divisionless random number generator
This is interesting from a pedantic point of view.  From an engineering point of view, I'd not look very kindly on the person who checked in a random number algorithm that required 300 lines of comments to understand.  There would have to be an awfully good reason to use it, and here there really isn't.