lua-users home
lua-l archive

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


Mike Pall <mikelu-1103@mike.de> wrote:
>
> Remember: 'unsigned' is a space optimization, and a really small
> one, too (saves one bit).

It also has different overflow semantics, in that overflow is defined to
be modulo 2^n for unsigned but it is undefined behaviour for signed.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Fair Isle: South veering southwest 6 to gale 8. Rough or very rough, becoming
very rough or high. Rain. Moderate or good.