Einzelnen Beitrag anzeigen
Alt 08.11.2005, 20:09   #18
alfora
Inventar
 
Registriert seit: 23.02.2001
Beiträge: 2.954


Standard

Zitat:
Original geschrieben von sonntagsflieger
Im sechzehnten Bit wird das Vorzeichen gespeichert
Nein. 2^16 = 65536

Vorzeichenlos können also Zahlen von 0 bis 65535 dargestellt werden. Vorzeichenbehaftet im Zweierkomplement daher von -32768 bis +32767.

Bei 15 Bit ist der Zahlenbereich -2^14 bis +2^14-1 also -16384 bis +16383.

Also geht mir das 16te Bit noch immer ab.
____________________________________
Alex

Home Page: http://homepage.mac.com/alfora/

O\'Hare Approach Control: \"United 329 heavy, your traffic is a Fokker, One o\'clock, three miles, eastbound.\"
United 239: \"Approach, I\'ve always wanted to say this... I\'ve got the little Fokker in sight.\"
alfora ist offline   Mit Zitat antworten