[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [PATCH] Loop Overflow Bug Fix
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 16 Nov 2017 16:33:28 -0200
> > for i = 2^53 - 10, 2^53 + 10 do print(i) end
>
> [...]
>
> I would guess that people who
> work with such extremely large numbers would know about the magnitude issues
> with using very large/small floating values. I know I have learned more
> about these numeric extremes than I knew before I started this patch! ;)
The numbers that you have been woried about in your patch (such as
maxinteger) are a thousand times larger than the "extremely large
numbers" in this example :-)
-- Roberto