lua-users home
lua-l archive

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


> For the DirectX FPU precision loss issue which can cause Lua mixups and
> crashes, this fix was suggested at some point:
> 
> add to luaconf.h:
> #define lua_number2int(i,d)   __asm fld d   __asm fistp i
> 
> [...]
> lua_number2int to something else by adding it to luaconf.h.
> 
> However, llimits.h, if included, doesn't check if lua_number2int was
> previously defined and simply redefines it.
> 
> [...]

Could you tell us what version/release of Lua you are discussing?

-- Roberto