emonkak/random.php — pull request #2 by AlexeyKupershtokh (2013-11-13 10:27:51+00:00)
Title: Fix % overflow on 32 bit systems

See http://php.net/manual/en/function.fmod.php
Partially fixes #1