lua-users home
lua-l archive

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


>    - more importantly: when used to flip a coin (e.g. random(0,1) == 0) it
>    generates a short sequence of 128 values.

By "a short sequence of 128 values" you mean it repeats itself after
128 values?

I generated a sequence of 1000 flips, then another sequence of 128 flips,
and searched for the second inside the first. The maximum match I found
was a subsequence of 13 values.

-- Roberto