[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 23:02:22 -0400
I tested the script in 4.0.1 and it does indeed run properly. I wonder
what the problem is then...
Mike
On Mon, Sep 9, 2013 at 10:32 PM, Michael Horvath <mikh2161@gmail.com> wrote:
> 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?