[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: problem with string.format %d and very large integers
- From: liam mail <liam.list@...>
- Date: Thu, 4 Aug 2011 09:32:51 +0100
On 4 August 2011 07:43, Dirk Laurie <email@example.com>
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.