[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.3.0 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 17 Dec 2014 15:34:05 -0200
> I have checked 100k Lua source and see a few errors (sometimes crash).
> I don't know what is the best solution.
> Actually I try to replace all '/' with '//' where I want integer division.
That certainly would help, but an essential point is to understand how
you *want* to round these values.
As this point has come up several times, I have a quick quiz for this
list. Without running the code, what are the results of the following
expressions in Lua 5.2?