Re: [ANN] Lua 5.3.0 (work2) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available
- From: Enrico Colombini <erix@...>
- Date: 2014年3月22日 14:42:03 +0100
On 22/03/2014 14.09, Egor Skriptunoff wrote:
Does it mean the following:
assert(4.5//1.5 == 4)
I was expecting 3 as the result of 4.5//1.5
At first glance, yes. But that would be a fp division followed by
rounding to the nearest integer, which would defeat the purpose of
integer division.
--
Enrico