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

EELSTHEBAND.COM

NEWS : "The 40-year-old Mr. Everett was raised in McLean, Va., with his sister Elizabeth, mother Nancy and father Hugh Everett III, a quantum physicist who in 1957 proposed a formal theory of parallel universes known as 'The Many-Worlds Interpretation of Quantum Mechanics.' 'Everett's work has boggled minds inside and outside physics for more than four decades,' reported Scientific American in last month's issue. Mr. Everett said his brilliant father wasn't communicative at home. When I asked him what the conversation was like around the breakfast table, he replied, 'There wasn't any.' 'Physicists and geniuses don't always make great family men. I lived with him for 18 years and I learned more about him from the Internet.' Mr. Everett's family was a heartrending source of inspiration for his most notable work, the 1998 album 'Electro-Shock Blues' (DreamWorks), written after his sister committed suicide and h...

Digital Cam media safe to fly with

Technocrat.net : "Recent tests found no evidence of X-ray scanner damage to digital camera media cards or to the images they hold. The tests of scanner models currently in use in the U.S. transportation industry were jointly conducted by the International Imaging Industry Association (I3A), the leading global association for the imaging industry; SanDisk Corporation, a manufacturer of digital media cards; and the U.S. Transportation Security Administration (TSA). These findings mean that digital cameras and their image storage media can travel safely in either checked or carry-on bags, which will be reassuring to holiday travelers. And though they were not explicitly tested, it is likely that images on camera-phones will be safe in either situation as well. More care is needed for cameras with film, however, as the X-ray scanners for both checked and carry-on luggage can fog both developed and undeveloped film."

Artist turns animals into everyday objects

Ananova - A Chilean artist is making a name for herself with an exhibition in which stuffed animals are transformed into household objects. Artworks on display include a chick turned into a lamp, and 'sheep bag' - a lamb carcass fitted with handles. Artist Caterina Purdy says her exhibition at the Experimental Arts Centre in Santiago is intended to be humorous but also makes a serious point. She told Las Ultimas Noticias online: 'It is possible to see my work as something scary, but I find it beautiful. 'There is also irony and humour in my objects as well as a criticism of the way animals are treated by society.'"