12.07.2015 Views

Poly de cours

Poly de cours

Poly de cours

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.

+ 100 101 110 111 000 001 010 011-4 -3 -2 -1 0 1 2 3100-4101-3110-2111-100000011010201130000001101020113100-4101-3110-2111-1001101020113100-4101-3110-2111-1000001020113100-4101-3110-2111-1000000110113100-4101-3110-2111-10000001101023.1.4.4 Extension signée et non signéeAvec toutes les représentations étudiées, un nombre signés ou non qui peut être représenté sur k bitpeut encore être représenté avec k+h bits pour tout h ≥ 0. On étudie ici comme calculer cettereprésentation sur k+h bits pour la représentation <strong>de</strong>s nombres non signés et pour la représentation encomplément à 2 <strong>de</strong>s nombres signés.3.1.4.4.1 Extension non signéeSoit un nombre n positif ayant b k-1 …b 0 comme représentation non signée sur k bits. Lareprésentation non signée <strong>de</strong> n sur k+h bits est simplement la représentation 0…0b k-1 …b 0 obtenue enajoutant h chiffres 0 <strong>de</strong>vant la représentation à k bits.100-4101-3110-2111-10000001101020113101-3110-2111-10000001101020113100-4110-2111-10000001101020113100-4101-3111-10000001101020113100-4101-3110-2Extension non signée <strong>de</strong> k bits à k+h bits d’un entier- 12 -

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

Saved successfully!

Ooh no, something went wrong!