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

At USDA, the Mouse Is in the House

(washingtonpost.com) : "Employees at the Department of Agriculture's main cafeteria were just sitting down to lunch on Friday when security guards ordered everyone in the huge eatery to leave. Al Qaeda? Bomb scare? No. Mouse droppings. The D.C. Department of Health closed the cafeteria for failing to pass inspection. Yes, the USDA, home to the Animal and Plant Health Inspection Service, the meat and poultry inspectors -- the agency that is part of the federal system for protecting the nation's food supply, was in violation of the D.C. Health Code. There were several citations, according to the inspection report, including: 'water leaking excessively' in the ceiling, employees not wearing hair restraints, and inadequate cleaning of the inside of ice machines, cabinets, surfaces and equipment. The biggest problem, however, seemed to be mouse droppings found everywhere -- in the dry storage room, by the salad bar, behind the ovens, near the serving line, ...

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.'"
BW Online | March 1, 2004 | Software : "As Stephen and Deepa emerge this summer from graduate school -- one in Pittsburgh, the other in Bombay -- they'll find that their decisions of a half-decade ago placed their dreams on a collision course. The Internet links that were being pieced together at the turn of the century now provide broadband connections between multinational companies and brainy programmers the world over. For Deepa and tens of thousands of other Indian students, the globalization of technology offers the promise of power and riches in a blossoming local tech industry. But for Stephen and his classmates in the U.S., the sudden need to compete with workers across the world ushers in an era of uncertainty. Will good jobs be waiting for them when they graduate? 'I might have been better served getting an MBA,' Stephen says."