lua-users home
lua-l archive

Re: Overflow handling in lua

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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

AltStyle によって変換されたページ (->オリジナル) /