[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table.insert and negative numbers
- From: Doug Rogers <rogers@...>
- Date: Wed, 09 Apr 2008 12:11:10 -0400
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