On Sun, Jul 05, 2015 at 09:46:11PM +0100, Gary V. Vaughan wrote:
> > The bug was filed on the Debian package, 
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789534
> > 
> > The Debian package is still the old version 31, but looking at the 
> > changelog I could not see this particular issue being fixed.
> 
> Unfortunately, this is a limitation of Lua 5.1 (a 12 year old
> codebase, albeit maintained with bug fixes until 3 years ago), which
> has but a single numeric type, where even integers are represented
> inside Lua itself as a 64bit double; i.e. only 53 bits of precision,
> which is not large enough to accurately contain any 64bit integers
> that use the 11 MSB.

Thanks for the quick answer!

I guess a non-fix would be to detect, on the C side, the "overflow"
and give an accurate error message.  Better than nothing.

Working around Lua 5.1 limitations is not something we can tackle IMO.

Lua 5.3 will eventually land in Debian (I've already a package for it,
it needs just some testing).  I'll also update lua posix as a
consequence.

Best,
-- 
Enrico Tassi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to