Portable floating-point calculations

Speaker: Guy Davidson

Audience level: [ Intermediate | Advanced ]

The behaviour of floating point calculations is often unintuitive and hard to reason about, complicated by the non-associativity of floating point addition as well as rounding modes. If you need cross-platform portability, which you may if you are in domains like games or audio where it can be critically important, then you are in a whole heap of trouble. In this talk I'll tell you why you may need this portability, why it is so hard to solve, and what approach we took at Six Impossible Things Before Breakfast to achieve this critical feature.