[issue9025] Non-uniformity in randrange for large arguments.
report at bugs.python.org
Fri Jun 18 12:24:56 CEST 2010
Mark Dickinson <dickinsm at gmail.com> added the comment:
Note: the number 6755399441055744 is special: it's 0.75 * 2**53, and was deliberately chosen so that the non-uniformity is easily exhibited by looking at residues modulo 3. For other numbers of this size, the non-uniformity is just as bad, but demonstrating the non-uniformity clearly would have taken a little more work.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list