lua-users home
lua-l archive

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


> On Mar 23, 2018, at 6:31 PM, Coda Highland <chighland@gmail.com> wrote:
> 
> The lower-order bits are less random than the higher-order bits, and
> this is true of many RNG designs. If you want a coin flip, pick a bit
> out of the middle instead of taking the lowest bit. If you want to
> construct a floating-point value, the lowest two bits have enough of a
> correlation that you get especially bad results.
> 
> /s/ Adam
> 

Do you mean top bits is not as good as the middle bits ?