[Python-bugs-list] random.randint/randrange fails for large range (PR#80)
Mon, 13 Sep 1999 23:18:07 -0400 (EDT)
The documentation for the random/whrandom modules certainly needs to
be improved. It has confusing links between random and whrandom. The
randint function, which is deprecated according to a comment in code,
is included in the docs, but randrange, it's replacement, is not.
I was looking at a different algorithm this afternooon, an MLCG by
Pierre L'Ecuyer, that describes itself as a 32-bit random number
generator. I would guess that it could generate a random number over
a 32-bit range; of course, I don't understnad the issue well enough so
I'll have to read a little more.