3 ms·
> Yeah, but they usually just say that the result is undefined. Just to clarify, I think you're talking about the INT_MIN / -1 case? I think that floating-poi
by haberman 12y ago
> Yeah, but they usually just say that the result is undefined.
Just to clarify, I think you're talking about the INT_MIN / -1 case?
I think that floating-point division by zero is defined in C and C++.
- thegeomaster 12y agoYes, I was talking about the signed integer overflow. Floating point division by zero is of course defined in C/C++, as per IEEE 754.