[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RANDOM of one arg
- To: (BUG LISP) at MIT-MC
- Subject: RANDOM of one arg
- From: CFFK at MIT-MC (Charles F. F. Karney)
- Date: Thu, 27 Sep 79 21:21:00 GMT
- Original-date: 27 SEP 1979 1721-EDT
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).