4 ms·
>The last 1's complement machine I encountered was, never. Not in nearly 50 years of programming. I think those machines left for the gray havens before I was b
by xeeeeeeeeeeenu 4y ago
>The last 1's complement machine I encountered was, never. Not in nearly 50 years of programming. I think those machines left for the gray havens before I was born.
Unisys OS 2200 uses one's complement[1] and Unisys MCP uses signed magnitude[2]. Both are still around.
[1] - https://public.support.unisys.com/2200/docs/CP19.0/78310422-013.pdf https://public.support.unisys.com/2200/docs/CP19.0/78310422-... (page 108) - "UCS C represents an integer in 36-bit ones complement form (or 72-bit ones
complement form, if the long long type attribute is specified)."
[2] - https://public.support.unisys.com/aseries/docs/ClearPath-MCP-20.0/86002268-209/86002268-209.pdf https://public.support.unisys.com/aseries/docs/ClearPath-MCP... (page 304) - "ClearPath MCP C uses a signed-magnitude representation for integers
instead of two’s-complement representation. Furthermore, ClearPath MCP C integers use
only 40 of the 48 bits in the word: a separate sign bit and the low order 39 bits for the
absolute value."