News for hackers. Stuff that matters.
Re:Patriot missile software failure, 28 soldiers died. Fix: ... by extension on Monday September 06, 2010 @06:30PM (#1667534)
Well, nevermind. According to this, they were using 24bit fixed point, not floating:

http://www.ima.umn.edu/~arnold/disasters/patriot.html

Maybe a better moral is "avoid absolute clocks or counters, if at all possible".

Re:Patriot missile software failure, 28 soldiers died. Fix: ... by sundarurfriend on Tuesday September 07, 2010 @08:15AM (#1668673)
This may be a naive question but: why did the error get accumulated over time? The original system clock was correct, and if they read from it every time and converted, the error would have remained at 0.000000095. Could someone explain how exactly this happened?
Re:Patriot missile software failure, 28 soldiers died. Fix: ... by regularfry on Tuesday September 07, 2010 @02:37PM (#1669676)
The figure of 0.000000095 refers to the inaccuracy in the multiplier to get from the clock conter value to a value of time in seconds, not the inaccuracy in the clock itself. As the clock counter increases, the difference between the true time and the clock counter times the multiplier increases linearly.

Edited for clarity.