.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Architettura degli elaboratori e delle reti (http://www.dsy.it/forum/forumdisplay.php?forumid=210)
-- Esercizio virgola mobile e fissa (http://www.dsy.it/forum/showthread.php?threadid=32051)


Posted by Skeggia on 24-09-2007 14:48:

Esercizio virgola mobile e fissa

Ciao a tutti!

Dovrei convertire in decimale il seguente numero in virgola mobile standard IEEE 754:

11000011101010001000000000000001

E poi dovrei passarlo in virgola fissa sapendo che ho 10 bit per la parte intera e 22 per la parte frazionaria.


Grazie a presto.:D


Posted by Skeggia on 25-09-2007 10:11:

Ragazzi nessuno sa aiutarmi??:(


Posted by amar7 on 26-04-2009 23:34:

è cosi:

11000011101010001000000000000001,
<segno=1bit, esponente=8bit, mantissa=23bit>
decomponiamo secondo lo standard IEEE:
<1-10000111-01010001000000000000001>
segno=1= - (meno)
esponente=10000111=134-127=7
mantissa=1,01010001000000000000001=10101000,1=168,
5
quindi il risultato è -168,5

__________________
amar7


All times are GMT. The time now is 19:55.
Show all 3 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.