[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: PRNG for Lua 4.0?
- From: Michael Horvath <mikh2161@...>
- Date: Mon, 9 Sep 2013 22:32:06 -0400
I can't find anywhere a binary for Lua 4.0, only 4.0.1.
:(
Mike
On Mon, Sep 9, 2013 at 10:14 PM, Geoff Leyland
<geoff_leyland@fastmail.fm> wrote:
> 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?