lua-users home
lua-l archive

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


Hi,

Matthew Percival wrote:
> 5.0	-> 2048.0004892588

1st guess: you've compiled the Lua core with a modified luaconf.h
with lua_Number set to float. But you've used the unmodified
luaconf.h (with lua_Number set to double) for compiling your C
application. Or vice versa. This'll break quite a few Lua API
functions (lua_pushnumber being the most obvious).

2nd guess: you've compiled the Lua core with -msoft-float, but
not your C application and/or any dependent libraries.

Suggestion: if you don't need FP numbers, use one of the integer
patches from the Wiki. Be sure to recompile everything with the
modified headers, too.

Bye,
     Mike