emacs-devel
[Top][All Lists]
Advanced

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

Re: random doesn't feel very random


From: Richard Stallman
Subject: Re: random doesn't feel very random
Date: Sat, 25 Aug 2012 16:55:29 -0400

    > Why would extra invocations of (random t) cause repetitive behavior?

    Depends on how random your seed is.

(random t) calculates a seed based on the current time.
Unless it is done repeatedly in a very short time, that
should make a different seed each time.

Unless there is a bug in the code that initializes the seed.

--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call




reply via email to

[Prev in Thread] Current Thread [Next in Thread]