Equality Testing and the Halting ProblemIt’s well-known that in programming, testing equality of floating point numbers is problematic. So, for example: // ok bool areEqual(int a, int b) { return a == b; } // bad bool areEqual(float a, float b) { return a == b; } In the latter case we won’t really get the behavior we…

Catching the Biggest Fish
Observations on various aspects of working in tech, focusing on software engineering
By registering you agree to Substack's Terms of Service, our Privacy Policy, and our Information Collection Notice