What happens if I add double to int, but the double value is out of range?
Say I'm doing something like this?
double d = double(INT_MIN) - 10000.0; int a = (int)d;
What is the value of a? Is it undefined?
c ++ casting
Roland Rabien Jul 21 '09 at 21:35 2009-07-21 21:35
source share