My Computer divided by 0??

Rayne

Regular
Joined
Mar 13, 2010
Messages
107
Location
North Carolina
This is on my Windows Vista. If you go to my computer and select one of the removable disks and look at the properties, it will show a pie chart of used space and free space. Above the chart, it will show number of bytes of capacity, number of bytes of used space and number of bytes of free space. The amount of the pie chart shaded in for free space is obviously free space divided by total capacity, so if there were 6 bytes of free space out of 10 bytes of capacity, 6/10 = 60% so 60% would be shaded pink for free space. But if you look at the pie chart for a removable disk that has 0 bytes of capacity, 0 bytes free and 0 bytes used, the whole pie is shaded blue for 100% used space. So 0 bytes of used space divided by 0 bytes of capactiy = 100%? (The chart shows 100% used space, 0% free space) But if you do it the other way around, 0 bytes of free space divided by 0 bytes of capacity = 0%? (The chart shows 100% used space, 0% free space)
 
the computer doesn't necessarily use the 0/0=100%, it just know that all space has been taken up, regardless of the capacity so it prints out 100% used space, which would in turn mean 0% free space....and 0/0 has no set number value that it is equal to, it's called indeterminate form, just wait till you get to calculus, you'll have fun with it(not at all)
 
the computer doesn't necessarily use the 0/0=100%, it just know that all space has been taken up, regardless of the capacity so it prints out 100% used space, which would in turn mean 0% free space....and 0/0 has no set number value that it is equal to, it's called indeterminate form, just wait till you get to calculus, you'll have fun with it(not at all)

Agreed. Calculus is :fp
 
Divide by 0 raise an processor interruption. I will crash your program with a sexy « divide error ».

Except if it's float number, in this case the result will be NaN or Inf (I'm not sure).
 
Back
Top