lua-users home
lua-l archive

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


Adding a little more confusion, I noticed that MSVCRT.DLL, the Windows
"system" C runtime library, never prints "-0".
This is Lua behavior when linked with MSVCRT.DLL:

> print(-0)
0
> print("Oh"..-0)
Oh0

But with the current runtime MSVCR100.DLL (Visual Studio 2010) at
least, the behavior is the same as with GLIBC:

> print(-0)
-0
> print("Oh"..-0)
Oh-0
>