lua-users home
lua-l archive

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


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) ?