[Tfug] Speaking of zero...

Robert Hunter hunter at tfug.org
Mon May 14 19:44:46 MST 2007


Hi, William.

> William Stott wrote:
>> Recently, a conversion on zero was brought up in a class I am taking.

If you don't mind me asking, which class?

Hi, Paul.

> The beginning is that there are two kinds of hardware even though there
> aren't many examples of one of them (one's complement).
>
> 1.  twos complement:  0 (all bits off) is zero, all bits on is -1.
> Lowest possible negative integer is 2**n (n is number of bits) highest
> possible positive integer is 2**n - 1

Substitute (n-1) for n...


-- 
Rob




More information about the tfug mailing list