14.08.2013 Views

Lucidi in formato PDF - Dipartimento di Matematica e Informatica

Lucidi in formato PDF - Dipartimento di Matematica e Informatica

Lucidi in formato PDF - Dipartimento di Matematica e Informatica

SHOW MORE
SHOW LESS

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

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

Interpretazione eccesso 2 n-1<br />

• Per evitare la doppia rappresentazione dello zero, una<br />

rappresentazione b<strong>in</strong>aria viene <strong>in</strong>terpretata come un<br />

numero a cui è stato aggiunto l’eccesso 2 n-1 .<br />

• Esempio: consideriamo 8 bit per la rappresentazione.<br />

Rappr. B<strong>in</strong>aria<br />

00000000<br />

00001000<br />

10000000<br />

10000011<br />

Valore<br />

0<br />

8<br />

128<br />

131<br />

Interp. eccesso 128<br />

-128<br />

-120<br />

0<br />

3

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

Saved successfully!

Ooh no, something went wrong!