|
zhiguo zhao wrote:
> Why? integer too long?
>
> windows 32bits, msvc2008 build.
Support for hexadecimal floating-point numbers is a C99 feature.
MSVC is not C99-compliant, please complain to Microsoft.
Note that you're getting a wrong result with plain Lua. Would you
> Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> > i = 0x100000000000000
> > print(i)
> 4294967295
rather silently get a wrong result or a proper error message?
--Mike