C++ · Decisions

Short-circuit and comparing doubles

A test can go wrong, by dividing by zero or asking a rounded double for an exact match, and each has a standard fix.