[Tfug] Speaking of zero...

William Stott WStott at ventanamed.com
Mon May 14 19:54:42 MST 2007


James Madison university, computer architecture.

Will


----- Original Message -----
From: tfug-bounces at tfug.org <tfug-bounces at tfug.org>
To: Tucson Free Unix Group <tfug at tfug.org>
Sent: Mon May 14 19:44:46 2007
Subject: Re: [Tfug] Speaking of zero...

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

_______________________________________________
Tucson Free Unix Group - tfug at tfug.org
Subscription Options:
http://www.tfug.org/mailman/listinfo/tfug_tfug.org


More information about the tfug mailing list