> big_number = 1e16
> 25 + big_number - big_number
> big_number == big_number + 1
In this talk, I'll show you some of my favorite weird floating point phenomena, and then I'll try to explain why they happen.
If you are a bit scared of floating point, like I used to, and you're never quite sure which formulas might turn on you and summon the eldritch abomination named NaN, then maybe this talk can help you build an ability to understand (and perhaps control) these phenomena.
This will obviously be a very numbers-heavy talk, but I'm going to try to make it as accessible as I can. Knowledge of things like binary numbers or scientific number notation is not required.