@nikitonsky I've always been saying that comparing floating-points for equality is perfectly fine, you just need to understand what you're doing. There are a lot of legit cases in e.g. various numerical algorithms where comparing exactly with zero is the right thing to do