Game Developer Magazine Floating Point

This is for references, code examples, and discussion regarding the floating-point article in the October 2012 Game Developer Magazine.

Years ago I wrote an article on comparing floating-point numbers that became unexpectedly popular – despite numerous flaws. As an act of penance for its imperfect advice I wrote a series of blog posts discussing floating-point math. I then wrote a Game Developer Magazine article to summarize the most important points.

The entire series of posts can be found here: https://randomascii.wordpress.com/category/floating-point/

Specific articles relevant to the Game Developer Magazine article include:

No floating-point article would be complete without a reference to David Goldberg’s classic article “What Every Computer Scientist Should Know About Floating-Point Arithmetic”. It was written in a time when the IEEE floating-point math standard was not yet universal, but it still contains important insights.
http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html

One of the creators if the IEEE floating-point math format is William Kahan and  his lecture notes contain excellent insights.

About brucedawson

I'm a programmer, working for Google, focusing on optimization and reliability. Nothing's more fun than making code run 10x as fast. Unless it's eliminating large numbers of bugs. I also unicycle. And play (ice) hockey. And sled hockey. And juggle. And worry about whether this blog should have been called randomutf-8. 2010s in review tells more: https://twitter.com/BruceDawson0xB/status/1212101533015298048
This entry was posted in Floating Point and tagged . Bookmark the permalink.

3 Responses to Game Developer Magazine Floating Point

  1. Yechiel says:

    How about mentioning William Kahan? (I don’t know him, only his articles)
    It seems you have mentioned him only in the obsolete version of an FP post.
    Thanks for your posts (that I have discovered only lately) – I have warned, on my web-page, my students (and peers) of reckless FP comparisons, but it’s nice to see it here.
    Yours truly
    Yechiel

    ===============================================
    Search C++ bad books [first link]

  2. Pingback: Float Precision Revisited: Nine Digit Float Portability | Random ASCII

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.