lua-users home
lua-l archive

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


Thanks, we'll try to fix that.
--lhf

>The test:
>
>	if ((long)x!=(long)tx)
>
>in lundump.c --> LoadHeader() fails when Lua is compiled in release mode on 
>Vc7 with lua_Number set to float. The test works in debug mode.
>
>(long)x becomes 314159264 and long(tx) 314159265.
>
>The problem can be fixed by changing
>
>	#define	TEST_NUMBER	3.14159265358979323846E8
>
>in undump.h to
>
>	#define	TEST_NUMBER	3.14159265358979323846E8f