[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua-5.4.0-work2 doc/manual.html error?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 13 Aug 2018 10:37:13 -0300
> 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?