[chuck-users] easy random numbers

Kassen signal.automatique at gmail.com
Tue Nov 20 19:15:48 EST 2007


On 21/11/2007, jakob kaiser <jakobala at hotmail.com> wrote:
>
>
> Strange, On my windowsXP system I get excatly the same numbers every time
> I start the code:
>


Oh. I read about a weakness of XP's random number generator a while ago from
a crypto point of view but that's just silly. On my own XP laptop I just got
the same results.

On a whim I also tried Std.rand2 instead of Math.rand2 and got the same.

This isn't so nice, to put it politely.
I'm also kicking myself for never hearing it.

Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20071121/7b2e8ad5/attachment.htm 


More information about the chuck-users mailing list