lua-users home
lua-l archive

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


nitpicking:on()

Lua manual does not answer why the following seeds lead to the same pseudo-random sequence:
math.randomseed(math.atan(1))
math.randomseed(math.log(2))
math.randomseed(math.sin(3))
Probably, some rewording would be useful for Lua users not acquainted with C libraries.

nitpicking:off()