lua-users home
lua-l archive

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




On 4 August 2011 07:43, Dirk Laurie <dpl@sun.ac.za> wrote:
The real story is: "Lua has no integer type, as it does not need it.
… a Lua number can represent any long integer without rounding problems."
(PiL, §2.3).  Sounds good to me.

I think you are looking at the first edition, in the second edition this was corrected. Added to that Lua 5.2 does in fact have an int type.