![]() |
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)
numero esadecimale
ciao scusate la banalità della mia domanda ma come si rappresenta un numero esadecimale negativo per esempio -99?
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
grazie per i numeri con la virgola? stesso procedimento da binario a esadecimale?
no,devi usare lo standard ieee 754 per i numeri floating point,e quindi hai un bit dedicato al segno
__________________
Khelidan
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
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.