News for hackers. Stuff that matters.
Re:Finally Getting Two's Complement by bsder on Saturday June 24, 2023 @08:12PM (#36463936)
The problem on computers is that "one's complement" needs "end around carry" which makes your adds take twice as long.
Re:Finally Getting Two's Complement by masswerk on Friday June 30, 2023 @11:34PM (#36546207)
I think, it wasn't so much for speed as for then expensive extra circuitry. (On the few vintage instruction sets using ones' complement, I know, addition and subtraction still executes in the same time as any other internal ALU instruction. Then, cycle times were still mostly owed to slow core memory cycles and the fasted you'd ever get was a single memory cycle.)