TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: NEIL HELLER
date: 1997-08-04 19:28:00
subject: SIGNS OF NUMBERS

CC> I don't quite remember onez complement. Is the following true?
CC> 
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> 
CC>     Or is that 2's complement.
That's the two's complement.  The one's complement is achieved by
simply doing a NOT (~) on the variable.
 * KWQ/2 1.2i * 
--- TMail v1.31.5
---------------
* Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55)

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™.