lua-users home
lua-l archive

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


> Last paragraph of 3.4.1 – Arithmetic Operators:
> In case of overflows in integer arithmetic, all operations wrap around, according to the usual rules of two-complement arithmetic. (In other words, they return the unique representable integer that is equal modulo 2^64 to the mathematical result.)
> 
> Shouldn't that be 2^64 or 2^32 depending on the size of lua_Unsigned?

Sure. Thanks,

-- Roberto