Go Back   FileForums > Game Backup > PC Games
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 16-06-2005, 10:21
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
Some basic Maths, only for DABhand's further education...

An unsigned double word consists of four bytes, each of which can have 256 different values: from 0 to 255. Similarly, a four-digit decimal number consists of four decimal digits, each of which can have 10 different values: from 0 to 9.

The maximum value for a four-digit decimal number is 10x10x10x10 - 1 = 9999, not 9x9x9x9 = 6561. The maximum value for an unsigned double word is analogously 256x256x256x256 - 1 = 4,294,967,295, not 255x255x255x255 = 4,228,250,625.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 11:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com