lua-users home
lua-l archive

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

Roberto Ierusalimschy wrote:
This turns out to be because on OS X strtod handles the conversion of '-0x1', for which we can thank C99, and on Windows (I assume) strtoul handles the conversion of '-0x1'. I find the whole situation rather repellant.

That is why we were always reluctant to add hexa constants in Lua.
(They entered Lua 5.1 by accident...)

Please do not remove them!