TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: TOM TORFS
date: 1997-08-15 12:26:00
subject: Signs of numbers

* Reply to a message in personal_mail.
Cameron Clark wrote in a message to Tom Torfs:
 CC>     I don't quite remember onez complement. Is the following true? 
 CC>     0000 0001 bin  one as a positive char
 CC>     1111 1110 bin  toggle all bits
 CC>     1111 1111 bin  add one to make one as a negative char
 CC>     Or is that 2's complement.
That's 2-complement. 1-complement, as the name already implies, simply 
toggles all bits. That's the reason you have +0 (0000 0000) and -0 (1111 
1111).
greetz,
Tom
tomtorfs@mail.dma.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.