TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: TOM TORFS
date: 1997-07-27 13:49:00
subject: Signs of numbers

Cameron Clark wrote in a message to Erik Warmelink:
EW> Yes, but AFAIK not all numbers with the high bit set are negative
EW> numbers. 1's would be '-0', just as all 0's would be '+0'.
 CC>     All ones is -1  (0xff...)
 CC>     All zeros is 0  (0x00...)
He was talking about 1-complement systems, and thus about the portability 
problem of the high-bit check for a negative value.
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™.