[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (work1) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 26 Mar 2018 07:14:14 -0300
Messages from yahoo.com are being consistently flagged as spam by my Gmail.
I've just found the message below in my spam folder. Check yours.
On Fri, Mar 16, 2018 at 3:43 PM, Albert Dinero <albertmcchan@yahoo.com> wrote:
>
> I might have optimize project() too much, a simple version would do nicely.
>
> static lua_Unsigned project(lua_Unsigned ran, lua_Unsigned n, RanState *state)
> {
> int bits = __builtin_clzll(n);
> while ((ran >>= bits) > n) ran = I2UInt( xorshift128plus(state->s) );
> return ran;
> }
>