r/AskComputerScience • u/Solomonspin • Nov 23 '15
Do computers make calculation errors?
If computers can make billions of calculations per second, is there an expected calculation error rate they make? If so, is there some sort of correction process? If the calculations are really just tiny jolts of electricity going through logic gates, is there ever chance for an error? If I give excel 100,000 cells to perform a calculation on, is it possible for one of the calculations to be incorrect mathematically?
Thank you.
30
Upvotes
1
u/i_invented_the_ipod Nov 23 '15
Yes, there's an expected error rate, but it's vanishingly-small. Other than some safety-critical systems, and locations where maintenance is impossible (space, at the bottom of the ocean), people pretty much operate as if the rate is zero.
I couldn't find a published figure for modern processors, but as a back-of the envelope estimation, you can probably assume that the rate is much lower than 0.01 failure per year, per processor.
Memory failures are roughly that common, and are something that cluster computing systems take into consideration. I don't know of any cluster-computing systems that take processor failures (other than self-reported failures) into account, so they must be rarer than that.