lua-users home
lua-l archive

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

> > IMO, both Lua parser and tonumber() function should return correct
> > float values in case of integer overflow.
> > This can be done safely as it does not break the main feature of integers:
> > integers will stay integers after tonumber(tostring(x)) conversion cycle.
> Or nil.

Some time ago I suggested 'inf' for these cases.

-- Roberto