15:45 - 16:45 (UTC+02)
Talk (60 min)
An Introduction To Floating Point Math
Many programmers have to deal with floating-point numbers, but often they have only a very superficial understanding of how they work and what it means for the code they write. This issue is further exacerbated by a lot of advice on the internet. We will go over the very basics of floating-point numbers (as defined by IEEE 754), such as their representation, their correspondence to the scientific notation, what are their limitations, what errors we can expect when using them to do math and also how to compare two numbers. We will finish by looking at cases where our newfound understanding of floating-point math breaks down, such as using different C++ platforms, different contexts, and other fun things.