[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Conversion of strings to numbers and numbers to strings.
- From: roberto@... (Roberto Ierusalimschy)
- Date: Tue, 30 May 2006 10:18:14 -0300
> 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...)
-- Roberto