Re: Bug/problem in Lua 5.0 beta
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Bug/problem in Lua 5.0 beta
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2003年3月10日 10:53:06 -0300
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