[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Overflow handling in lua
- From: meino.cramer@...
- Date: Sun, 8 Jul 2012 04:58:26 +0200
Javier Guerra Giraldez <javier@guerrag.com> [12-07-08 04:48]:
> On Sat, Jul 7, 2012 at 10:07 AM, Eike Decker <zet23t@googlemail.com> wrote:
> > I think it would stop icrementing at 2^48 or somewhere in that range..
>
> more like 2^53
>
> --
> Javier
>
That is :
a=0
while a==a do
a=a+1
end
will run forever and 'a' will stay at its
maximum without changing then anymore...????
Or does it abort with an error? Or what else?
I am confused....
Best regards
mcc