.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)
-- numero esadecimale (http://www.dsy.it/forum/showthread.php?threadid=30330)


Posted by morte2097 on 10-04-2007 17:25:

numero esadecimale

ciao scusate la banalità della mia domanda ma come si rappresenta un numero esadecimale negativo per esempio -99?


Posted by Skilotto83 on 10-04-2007 19:24:

traformi 99 in binario, calcoli -99 binario in complemento a 2 e da li' calcoli l'esadecimale..
;)

__________________
"Why, Sir, you find no man at all intellectual who is willing to leave London.
No, Sir, when a man is tired of London, he is tired of life; for there is in London all that life can afford."
(DR SAMUEL JOHNSON 1777)

MSN andrea.poretti(at)hotmail.it


Posted by morte2097 on 11-04-2007 14:40:

grazie per i numeri con la virgola? stesso procedimento da binario a esadecimale?


Posted by khelidan on 12-04-2007 13:55:

no,devi usare lo standard ieee 754 per i numeri floating point,e quindi hai un bit dedicato al segno

__________________
Khelidan


Posted by davene on 04-05-2007 10:17:

mi permetto di correggere questo post...
per i numeri decimali devi usare la moltiplicazione per 2 successiva..
lo standard IEEE754 è appunto...uno standard per la RAPPRESENTAZIONE dei numeri floating point nel calcolatori...non è la conversione dec2bin di un numero in decimale!
Saluti

__________________
Saluti - Davide


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

hai ragione davene, se qualcuno sbaglia, meglio correggerlo senno sbagliamo tutti

__________________
amar7


All times are GMT. The time now is 23:45.
Show all 6 posts from this thread on one page

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