The floating point comparison bug is nightmare fuel. I could look at that for years and never spot the mistake.

On the bright side it could probably run for years without hitting the mistake as well. But it is nice to get it out of there.

Fuzzers are brilliant at this and produce all kinds of insane floating point inputs.