Re: Conversion of strings to numbers and numbers to strings.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Conversion of strings to numbers and numbers to strings.
- From: Shmuel Zeigerman <shmuz@...>
- Date: 2006年5月30日 18:06:10 +0200
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!
--
Shmuel