lua-users home
lua-l archive

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


Louis Mamakos <louie@transsys.com> writes:
> Just for completeness, this is only true for CPU architectures that
> implement 2's complement arithmetic.  While 1's complement CPU
> architectures [1] are even more rare...
>
> [1] UNIVAC/Sperry/Unisys 1100/2200 architectures, DEC-10/20 among
> them. 

The pdp-10 (decsystem 10/20) used 2s-complement integers.

It seems pretty reasonable to at least _optimize_ for the 2s-complement case...

-Miles

-- 
Do not taunt Happy Fun Ball.