[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua-5.4.0-work2 doc/manual.html error?
- From: Kenneth Lorber <keni@...>
- Date: Mon, 13 Aug 2018 08:48:39 -0400
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?
Thanks,
Keni