[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: PRNG for Lua 4.0?
- From: Geoff Leyland <geoff_leyland@...>
- Date: Tue, 10 Sep 2013 14:14:27 +1200
On 10/09/2013, at 2:08 PM, Michael Horvath <mikh2161@gmail.com> wrote:
> --Linear Congruential Generator
> ...
Well, that's odd:
$ ./bin/lua -e "print(_VERSION)" lcg.lua
Lua 4.0.1
wutwut =0.1883697509765625
wutwut =0.087860107421875
wutwut =0.1557464599609375
So I'm afraid it works here. Maybe try on a vanilla Lua 4 and see if it differs from the in-game environment?