lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:

> There is no boundary condition for exponentiation. The problem is that
> table.insert converts the index to an integer and then 2^32 overflows
> 32-bit integers. This glitch in table.insert (and other functions that
> convert doubles to ints) is known and will be fixed.

I thought I had seen reference to this on the list but a quick search of
the archives (2^31) failed. Good to see confirmation that it's a known
problem.

Doug

-- 
Innovative Concepts, Inc. www.innocon.com 703-893-2007 x220