[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua string library partially reimplemented in Lua
- From: Miles Bader <miles.bader@...>
- Date: Mon, 22 Sep 2008 14:35:58 +0900
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.