lua-users home
lua-l archive

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


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?