lua-users home
lua-l archive

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


I have had lots of problems with hex constants, probably because my mind is
stuck in the IBM mainframe world. Since 0x'7FFFFFFF is the 32-bit signed
integer representation of the largest possible integer, and if Lua uses
something else (8 byte FLOAT?), then this is a bogus assignment mechanism to
get all ones for a bit comparison/manipulation.