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?
Printable View
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?
a kilobyte is just a convention of specifying memory size, it just more convenient to use base 2 when talking about memory stored binarily
Why is the moon made of cheese? :confused:
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! :)
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 :)
December has 31 days. :rolleyes:Quote:
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.
Yeah and they couldn't find one bin laden let alone 100000000 of them :rolleyes:
:lol:
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.:))
He really did find the answer to Life, the Universe and Everything. :eek: