[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Fastest way to determine number is integer in plain Lua
- From: "Alexander Gladysh" <agladysh@...>
- Date: Fri, 7 Nov 2008 23:15:36 +0300
On Fri, Nov 7, 2008 at 11:06 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> I would settle for brilliant a%1==0.
>
> Nothing brilliant about it. It's the definition of %.
Err, sorry, I've used the wrong word :-)
I meant, I'm ashamed that I've missed it, and I'm astonished by how
simple it actually is.
Alexander.