|
-
Mar 29th, 2004, 10:20 PM
#1
Thread Starter
Fanatic Member
Why 1024?
Why are there 1024 bytes in a kilobyte? I know that 2^10 is 1024, etc etc. But if you're counting the number of bytes, the number isn't restricted to powers of 2.
Is it just so the computer can calculate filesize faster?
Don't pay attention to this signature, it's contradictory.
-
Mar 29th, 2004, 10:46 PM
#2
transcendental analytic
a kilobyte is just a convention of specifying memory size, it just more convenient to use base 2 when talking about memory stored binarily
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Mar 30th, 2004, 12:40 AM
#3
Dazed Member
Why is the moon made of cheese?
-
Mar 30th, 2004, 03:18 AM
#4
1024 was chosen because it just happened to be the power of two nearest to 1000 which is the normal designation for Kilo (bytes, grams, tons etc...).
Decimal (aka: base 10, radix 10) is completely arbitrary as far as computers are concerned, binary is gospel!
I don't live here any more.
-
Mar 30th, 2004, 03:42 AM
#5
Lively Member
Err well :
1000 bin : 8 dec.
10000 bin : 16 dec.
100000 bin : 32 dec.
1000000 bin : 64 dec.
10000000 bin : 128 dec.
100000000 bin : 256 dec.
1000000000 bin : 512 dec.
10000000000 bin : 1024 dec.
Seems to me that it's just a simple conversion matter
A post brought to you by the Grim Reaper Appreciation Society™
"Buy your lifetime subscription now and save on your coffin"
-
Mar 30th, 2004, 04:27 AM
#6
Originally posted by Wally Pipp
1000 bin : 8 dec.
10000 bin : 16 dec.
100000 bin : 32 dec.
1000000 bin : 64 dec.
10000000 bin : 128 dec.
100000000 bin : 256 dec.
1000000000 bin : 512 dec.
10000000000 bin : 1024 dec.
December has 31 days.
-
Mar 30th, 2004, 04:36 AM
#7
Lively Member
Yeah and they couldn't find one bin laden let alone 100000000 of them
A post brought to you by the Grim Reaper Appreciation Society™
"Buy your lifetime subscription now and save on your coffin"
-
Mar 30th, 2004, 04:38 AM
#8
-
Mar 30th, 2004, 05:07 AM
#9
Douglas Adams trivia (Ubergeek level)
Ford and Arthur playing scrabble get "what is six multiplied by nine"? on the board. Douglas apparently didn't realise that in base 13 maths...
(6)13 * (9)13 = (54)13 = (42)decimal
How amazing is that? Douglas said later on "I am not in the habit of making jokes in base thirteen!"
Just a weird coincidence? I rather think not 

(Read "The Hitchhiker's Guide to the Galaxy" if you don't know what I'm on about. )
Last edited by wossname; Mar 30th, 2004 at 05:19 AM.
I don't live here any more.
-
Mar 30th, 2004, 05:17 AM
#10
Lively Member
He really did find the answer to Life, the Universe and Everything.
A post brought to you by the Grim Reaper Appreciation Society™
"Buy your lifetime subscription now and save on your coffin"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|