[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.4 random number generator
- From: albertmcchan <albertmcchan@...>
- Date: Fri, 23 Mar 2018 12:42:20 -0400
On Mar 23, 2018, at 9:11 AM, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> The '+' in the xorshift128+ aims to remove the linearity of the
> algorithm, but it does not affect the lowest bit (it has no carry,
> so the '+' performs an xor). But I must confess I have no idea why
> linearity is bad.
>
What is linearity ?
Does linearity affect randomness (make it predictable) ?