lua-users home
lua-l archive

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


> math.random() doesn't return anything useful when lua_Number is int.

Granted. But I think that the main issue here is whether math should be
included at all when you compile Lua to use integers. Most probably in
this case you need a completely different math library.
--lhf