[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2.2 RC4 MSVC 2010 warnings
- From: Miles Bader <miles@...>
- Date: Mon, 25 Mar 2013 22:48:15 +0900
Dirk Laurie <dirk.laurie@gmail.com> writes:
>>> Float LUA_NUMBERS are used in game development mostly. That's it.
>>
>> How does the bit32 library cope with that?
>
> It will work if both lua_number2unsigned and lua_unsigned2number
> work. There seems to be no reason for them not to work as long as
> you don't do anything to bit32 values stored as values of type
> 'number' except operate on them using the bit32 library, but that
> part of llimits.h is too hairy for me to follow.
I meant, because there isn't enough space in the mantissa of an IEEE
float to store 32 bits... :]
-miles
--
Selfish, adj. Devoid of consideration for the selfishness of others.
- References:
- Lua 5.2.2 RC4 MSVC 2010 warnings, Alexey Baskakov
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, Dirk Laurie
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, Newton Kim
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, William Ahern
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, William Ahern
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, Dirk Laurie
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, William Ahern
- RE: Lua 5.2.2 RC4 MSVC 2010 warnings, Alexey Baskakov
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, Miles Bader
- Re: Lua 5.2.2 RC4 MSVC 2010 warnings, Dirk Laurie