Just how predictable is Lua's random function
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Just how predictable is Lua's random function
- From: "Jeremy Darling" <jeremy.darling@...>
- Date: 2007年2月21日 11:25:41 -0600
Just as the subject says, I'm curious just exactly how predictable the random function is given a known seed. If I use the same seed on all platforms (Windows, Linux, and Mac) can I expect the next N calls to random to always generate the same values? This seems to be the case on Windows, but I can't validate it on the other platforms (yet).
Thanks,
Jeremy
"Help I suffer from the oxymoron Corporate Security."