lmacken/quantumrandom — pull request #12 by ekimekim (2012-11-13 04:41:58+00:00)
Title: randint() now supports ranges greater than 65535

Previous behaviour caused program to hang.
New upper limit on range is essentially arbitrary.

It does this by, instead of retrieving a uint16, it retrieves a number of uint16s and uses a bit shift to construct a larger-bit random number. It then performs the standard anti-modulo-bias algorithm on that.