lua-users home
lua-l archive

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

On Sep 10, 2013, at 11:52 AM, Michael Horvath <> wrote:

> Yeah I tried  local B = 2^23 and  local B = 2^15, but it just made
> matters worse.

You may have an easier time with a Lagged Fibonacci Generator.

Use a modulus of 2^23 so the addition is not truncated.