Ken said "A full 32-bit number (32 one's in a binary number) equals 2 GB"
It's actually equal to 3,221,225,472 (3.2gb). (2^0 is used in true binary.)
If you want to drop down one bit (sign), then we're talking 1,610,612,736. In "micro-speak", this rounds off to 2gb.
>Nope. 2^0 doesn't take any bits to represent. 2^1=2 is one bit, 2^32=4GB 32=bit. IOW, 1byte=8bit, 4bytes=32 bits.
>
>>2 to the zero power through 2 to the 31st power is 32 bits.
>>
>>>>
>>>>A full 32-bit number (32 one's in a binary number) equals 2 GB, so numbers based on 32-bits cannot address address space beyond 2 GB.
>>>
>>>A full 32-bit number (2^32 - unsigned integer) is equal 4G. 2GB can be represented by 31-bit number (2^31).
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement