Completely [i]Not[/i] Worth Your Time
Pages: [1]
|
|
Computer and Video Games
|
sprinkles


2009 Sep 6 • 2480
10 ₧
|
So my friend and I were talking about his 2tb hard drive and int64's. int64 is 64 bits or 8 bytes, and can store a number from -9^18 to 9^18. We were trying to figure out how big of a number a 2tb hard drive can store, roughly. Here's the math that I worked out, I have no clue if its right.
2(tb)x1000=2000(gb)x1000=2000000(mb)x1000=2000000000(bytes)
So a 2 terabyte hard drive is 2^9 bytes. Right?
Given that 8 bytes can store a number up to 9^18 we divide (2^9)/8 giving us 250000000 8 byte sectors. We then multiply 2.5^8 by 9^18 (2.5^8)(9^18). That gives us 2.2(10^22). So a 2tb hard drive should be able to, roughly, store a number up to 22000000000000000000000.
Right?

...then I got some ap, and shot a big ass lazar at everyone.
|
|
|
|
|
(Edited 2010 Nov 26 at 20:05)
2010 Nov 26 at 20:03
|
|
|
SRAW
Rocket Man

2007 Nov 6 • 2140
601 ₧
|
sprinkles said: 22000000000000000000000 digits
|
|
|
|
|
2010 Nov 26 at 21:50
|
|
|
|
|
fedex _

2009 Mar 23 • 706
13 ₧
|
1 byte=8 bits
1 kilobyte(kb)=1024 bytes
1 megabyte(mb)=1024 kilobytes or ~1,000,000 bytes
1 gigabyte(gb)=1024 megabytes or~1,000,000,000 bytes
1 TERABYTE (TB)= 1024 gigabutes or ~1,000,000,000,000 bytes
1 petabyte (pb)=1024 terabytes or~1,000,000,000,000,000 bytes
got this from a website maybe will help you
|
|
|
|
|
2010 Nov 26 at 22:38
|
|
|
SRAW
Rocket Man

2007 Nov 6 • 2140
601 ₧
|
fedex _ said: 1 byte=8 bits
1 kilobyte(kb)=1024 bytes
1 megabyte(mb)=1024 kilobytes or ~1,000,000 bytes
1 gigabyte(gb)=1024 megabytes or~1,000,000,000 bytes
1 TERABYTE (TB)= 1024 gigabutes or ~1,000,000,000,000 bytes
1 petabyte (pb)=1024 terabytes or~1,000,000,000,000,000 bytes
got this from a website maybe will help you
everyone knows that..
and nobody hacked by account rockbomb, it was just an example of how helpful the non-troll version of SRAW can be
|
|
|
|
|
2010 Nov 27 at 01:29
|
|
|
Down Rodeo
Cap'n Moth of the Firehouse


2007 Oct 19 • 5325
57,583 ₧
|
OMG
Anyway, yes, fedex_ has the right size. Didn't you listen last night? I'll try again because I think I was a factor of 8 out.
If you have four bits (half a byte) you can store 16 separate values, or 2^4. Similarly one byte can store 256 different values. If you use the traditional unsigned integer format obviously the largest value you can store is, in fact, 256-1. So, 2^number of bits - 1 is the largest value.
On a 2TB HDD you have 2*10^12 bytes = 16*10^12 bits. Assuming, that is, the drive has exactly that amount of storage available and that the manufacturers use the SI standard for their prefixes (this is why Microsoft reports disc sizes as smaller, they are using technically what are called Gi, Ki etc.)
Thusly the largest number storable is 2^16000000000000 -1. We can do a little better, as 2^10 ~ 10^3. 2^16000000000000 = (2^10)^1600000000000 so 2^16000000000000 ~ 10^4800000000000.
That is to say, a huge number. Staggeringly big. It is far bigger than a googol, but less than a googolplex. http://en.wikipedia.org/wiki/Large_numbers
Everyone stares when you walk in the room, they stare when you go....
|
|
|
|
|
2010 Nov 27 at 05:46
|
|
|
sprinkles


2009 Sep 6 • 2480
10 ₧
|
Lulz, I completely forgot about KBs.
...then I got some ap, and shot a big ass lazar at everyone.
|
|
|
|
|
2010 Nov 27 at 09:17
|
|
|
|
Pages: [1]
|
|