作者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