Skip to Content
The End of Error
book

The End of Error

by John L. Gustafson
June 2017
Intermediate to advanced
416 pages
12h 30m
English
Chapman and Hall/CRC
Content preview from The End of Error

9 Add/subtract and the unbiased rounding myth

Images

In 1982, The Vancouver Stock Exchange established a stock index, scaled to initially equal 1000. The index steadily declined to 520 over the next two years even though the economy was healthy. The index was being updated by adding and subtracting changes in the stocks, using floats rounded to three decimals, so rounding error accumulated. Recalculating the stock index from the actual stock prices showed the index was actually 1098, not 520. The accumulation of approximations would have been obvious, had unum arithmetic been used.

9.1 Re-learning the addition table … for all real numbers

The prototype ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781482239867