bool IsOveflow_uint(unsigned int original, unsigned int add) {

unsigned int before = original;

unsigned int after = before + add;

if((original & 0x80000000) != (after & 0x80000000)) 

return false;

return true;

}



책에 설명 띡 한줄(오버플로우 체크한다) 적혀있던데 이 코드가 어떻게 오버플로우 체크되는지 설명해주실분 ㅠ