lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
> > This is a known issue and there's even a bug fix for it:
> > 
> >   http://lua-users.org/lists/lua-l/2008-04/msg00136.html
> > 
> > But for some reason that fix never went into Lua 5.1.4. :-(
> 
> It will be in Lua 5.2.

Err, but this is a genuine bug, not a new feature. IMHO a fix for
it should be merged into Lua 5.1.5 (like all the other pending bug
fixes).

BTW: same problem, but not fixed by the provided patch:

$ lua -e "print(-2^-2000, 0)"
-0	-0

(Should print -0 and 0)

--Mike