Skip to main content
InfoWorld: Sun researchers: Computers do bad math: December 17, 2003: By : Platforms:
"Mathematical errors are far more common in the computer industry than most people realize, said Greg Papadopoulos, Sun's executive vice president and chief technology officer. While his company is normally the first to accuse Microsoft Corp. of shoddy operating system design, bad math and not Windows is sometimes behind those unexplained PC crashes, he admits.

'There are a lot of errors that happen in machines that go undetected,' Papadopoulos said. 'Sometimes a machine just goes away and freezes. You always blame it on Microsoft. We do, too. It's convenient. It's convenient for Intel, too.'

'It's a dirty secret. Floating-point arithmetic is wrong,' said John Gustafson, a principal investigator with Sun, based in Santa Clara, California. 'It only takes two operations to see that computers make mistakes with fractions.'

The problem that Gustafson and Papadopoulos referred to stems from the fact that the binary mathematics employed by computers has a hard time accurately representing certain numbers. Fractions, for example, are particularly tough, because they often involve non-terminating numbers that are impossible to accurately express in binary format.

Dividing two by three on a calculator illustrates the problem. The fraction 2/3, when represented in a computer, is inevitably rounded up, making the last digit a seven.

In the case of the Gulf War incident, the Patriot battery's computer rounded a similar, non-terminating number in order to calculate time. But by shaving off a few digits during every calculation, the battery also shaved off a bit of time. After one hour, the Patriot's clock was off by .0034 seconds. On Feb 25, the computer had been in operation for 100 hours straight, and its clock was off by over one third of a second, enough to cause it to miss the incoming Scud."

Comments

Popular posts from this blog

New York Post Online Edition

news : "December 29, 2003 -- WASHINGTON - Startling new Army statistics show that strife-torn Baghdad - considered the most dangerous city in the world - now has a lower murder rate than New York. The newest numbers, released by the Army's 1st Infantry Division, reveal that over the past three months, murders and other crimes in Baghdad are decreasing dramatically and that in the month of October, there were fewer murders per capita there than the Big Apple, Chicago, Los Angeles and Washington, D.C. The Bush administration and outside experts are touting these new figures as a sign that, eight months after the fall of Saddam Hussein, major progress is starting to be made in the oft-criticized effort by the United States and coalition partners to restore order and rebuild Iraq. 'If these numbers are accurate, they show that the systems we put in place four months ago to develop a police force based on the principles of a free and democratic society are starting to ...

georgelazenby: Rusomaniacal batshittery

Яџѕѕіаиѕ. Yes, I know that spells Ytdzdziais, don't bother me with details. If Тетяіѕ can do it, I can too. "We went up a short incline. This brought us to an ordinary glass door. We knocked. We waited. We waited. We noticed the doorbell. We rang. We waited. Eventually we grew bold and entered. This brought us into a narrow hallway that had all the indications of being nothing more than drywall, veneer and ceiling tile. We said 'Hello....?' No one answered our question. We proceeded down the hallway flanked by doors, unsure as to whether the desire not to surprise someone for the sake of politeness overrode the rudeness of opening a closed door. At an impasse, we kept walking down the hallway, not opening any doors. But, we rapidly became trapped, when we realized that the only way out of this hallway was to open a door. Because it seemed the least likely to be the entrance to an office, bathroom or weird eastern European slave dungeon, we chose the last door the h...