2 ms·
This argument is a nonstarter. abs() can't return a defined answer if you pass INT_MIN to it because there is no such thing as abs(INT_MIN) in the two's-comple
by CamperBob2 5y ago
This argument is a nonstarter. abs() can't return a defined answer if you pass INT_MIN to it because there is no such thing as abs(INT_MIN) in the two's-complement system used by virtually all real-world systems.
Meanwhile, -2322 is a valid int on every C system but not an ASCII whitespace character on any of them. Therefore, it would be not only possible but perfectly reasonable for isspace() to return 0 for it. Classic violation of the principle of least surprise.