|
On 5-Sep-05, at 6:09 PM, Glenn Maynard wrote:
(I'd avoid using lua_Number for bitmasks, at least, anyway; I use Lua on systems without hardware doubles, where it's not going to be able to hold a 32-bit mask.)
Right. Which is why bit vectors ought to be based on something other than numbers :)
Character strings work well, for example.