Checks if the subtraction of other from this causes an overflow.
other
bool subtractOverflows(int other) => ((other < 0) && (this > max + other)) || ((other > 0) && (this < min + other));