[M3devel] random.longint()?

hendrik at topoi.pooq.com hendrik at topoi.pooq.com
Wed May 19 22:54:11 CEST 2010


On Sat, May 15, 2010 at 11:22:42PM +0000, Jay K wrote:
> 
> Fair enough. I guess random.longint() could just call random.integer() twice, or clients could, existing situation, do nothing.

I don't know how many bits of state the prwudorandom number generator 
uses, but is it has the usual 32 bits, calling random.integer() twice to 
get 64 bits does *not* give properly randome 64-bi strings.

-- hendrik



More information about the M3devel mailing list