guile-devel
[Top][All Lists]
Advanced

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

Re: srand, rand


From: Mikael Djurfeldt
Subject: Re: srand, rand
Date: 09 Apr 2001 18:49:04 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Mikael Djurfeldt <address@hidden> writes:

> Suggestion: We can add a function scm_set_rng_rand () which plugs in
> the system's "rand" generator into Guile's plug-in interface.

Actually, we should probably rather provide scm_set_rng_random.
Although the "rand" function is good on Linux, it is generally
considered a "bad" function not to be used on other systems.  For
example, not all 32 bits are sufficiently "random".

random() should be of good quality on most systems.



reply via email to

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