[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table.maxn...
- From: Coda Highland <chighland@...>
- Date: Mon, 1 Jun 2015 06:29:18 -0700
On Mon, Jun 1, 2015 at 6:26 AM, Coda Highland <chighland@gmail.com> wrote:
> On Mon, Jun 1, 2015 at 3:06 AM, Tim Hill <drtimhill@gmail.com> wrote:
>> This also takes care
>> of the issue of FP errors, since all the math is now done on integers.
Also, it doesn't resolve FP errors in Lua 5.1/5.2, because numbers are
still double-precision floats and not true integers. The act of adding
1 + 1<<53 is what causes the problem, not dealing with fractional
values.
/s/ Adam