作者executor1107 (我都在喇塞嘛><)
看板NSYSU-CSE97
标题[讨论] 计概:Overflow
时间Fri Dec 3 14:18:17 2004
Chapter 4 in page 5有提到:
Start from 0 and continuously add 1 until you get to 127; If you add one more, you do
not get 128;you get –128;Add one more and you get –127. Add one more and you
get –126. This is what happened in Example 4.
0111 1111=127对吧?
+ 0000 0001
__________________________
1000 0000=-128还是等於0?
再加1变成
1000 0001=-127?
是这样的吗?...
不太懂
--
......ID......
......I am a learning Dancer......
Shake my body through the music...
Dance with the Feel...
This is my ID......
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.117.186.180
1F:推 impostor:-128 then -127 203.73.61.227 12/03