Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
July letter on MSDN VFP web site
Message
From
19/07/2004 08:37:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00925465
Message ID:
00925706
Views:
19
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).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform