Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
July letter on MSDN VFP web site
Message
De
19/07/2004 08:48:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00925465
Message ID:
00925710
Vues:
30
That's true..........., but, the issue is the value of 32 1's.

2^0=1
2^1=2
2^2=4
2^3=8
2^4=16
2^5=32
2^6=64
2^7=128
2^8=256
2^9=512
2^10=1024
2^11=2048
2^12=4096
2^13=8192
2^14=16384
2^15=32768
2^16=65536
2^17=131072
2^18=262144
2^19=524288
2^20=1048576
2^21=2097152
2^22=4194304
2^23=8388608
2^24=16777216
2^25=33554432
2^26=67108864
2^27=134217728
2^28=268435456
2^29=536870912
2^30=1073741824
2^31=2147483648
__________
3,221,225,472 (Total of all 1's)


>I'm not sure what kind of calculator you're using but 2^32 = 4,294,967,296 = 4GB.
>
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform