• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Bit sizes..or something

Status
Not open for further replies.
Level 4
Joined
Jun 16, 2007
Messages
97
I'm editing a save/load system right now to my likings..and well, theres these like size=xx which = some huge number. Like size=12 which means up to 4095? I don't get the equation that makes up these numbers? Could someone tell me? or on an easier note, just tell me the size=xx number which is closest to 1 million?
 

Lej

Lej

Level 3
Joined
Jun 5, 2004
Messages
36
I guess what you are asking for is:
2^12 = 4096 (You said 4095 maybe it uses one bit for something)
2^20 = 1048576
 
Status
Not open for further replies.
Top