请教大家过来帮忙解答!
在《深入理解计算机系统.第二版》中的练习题2.31/* Determine whether argument can be added without overflow */
/* WARNING: This code is buggy .*/
int tadd_ok(int x, int y)
{
int sum = x+y;
return (sum -x == y)&&(sum - y == x);
}
麻烦各位大虾指点一下这段代码哪有bug,我实在是没看出来。小弟不胜感激!!