Re: lua crashes with 64-bit integers (Todor Totev)
> From: "Todor Totev" <[hidden email]>
> Subject: lua crashes with 64-bit integers
> Hello all,
> i'm using Lua 5.0.2 with lua_Number defined as __int64
> (Microsoft VC under Windows NT).
> Now, the simple expression
> crashes Lua interpreter with Division by zero exception.
If you switch to using Lua 5.1.1, the patch at
sets up Lua with lua_Number defined as long, and avoids all floating
point operations. The patched version has been working quite well for