02.10.2019 Views

UploadFile_6417

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Representation of Numbers 257<br />

Ten’s-complement format This is a representation for decimal integers.<br />

We will describe it so that we can explore characteristics of two’scomplement<br />

through decimal integers, which is much easier to understand.<br />

Following (6.31), the N-digit ten’s-complement of a positive integer x is<br />

given by<br />

˜x =10 N − x or x+˜x =10 N (6.33)<br />

Using (6.33), the N-digit ten’s-complement format representation is given<br />

by<br />

x (10N )<br />

{ { {<br />

∆ x, x ≥ 0 x, x ≥ 0 x, x ≥ 0<br />

=<br />

|˜x|, x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!