As with floating-point, fixed-point numbers are used to express real values of arbitrary range. Unlike floating-point numbers, their range is determined during compilation. This makes them an appealing candidate for representation as a class template.
John will present one such effort to produce a fixed-point library and share his experiences, including:
- how it has changed his notion of what an integer is;
- how it hasn't changed his notion of what a float is;
- how fixed-point has come to mean many things to many people;
- how you've lived so long without fixed-point arithmetic and
- how C++11 makes this stuff way easier.
For more information, see: http://johnmcfarlane.github.io/fixed_point/
John McFarlane has spent a decade making video games in the UK and US and now works in Menlo Park at an autonomous vehicle startup. In his spare time, he contributes to SG14, the study group devoted to games, embedded systems and high-frequency trading.
Join us after the talk at the Tied House for drinks and food!