[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RANDOM of one arg



If N = 2*(2^35.+1)/3 then (RANDOM N) is twice as likely to
return a result in the range [0,N/2) as in the range [N/2,N).