mirror of
https://github.com/johnwinans/rvalp.git
synced 2025-09-29 14:11:14 -04:00
Correct addend in 127+1 example of signed overflow
This commit is contained in:
parent
3c32f91de7
commit
9613886753
@ -955,7 +955,7 @@ the most negative value as shown in \autoref{sum:127+1}.
|
|||||||
\begin{BVerbatim}
|
\begin{BVerbatim}
|
||||||
0 1 1 1 1 1 1 1 0 <== carries
|
0 1 1 1 1 1 1 1 0 <== carries
|
||||||
0 1 1 1 1 1 1 1 <== 127
|
0 1 1 1 1 1 1 1 <== 127
|
||||||
+ 0 0 0 0 1 0 0 1 <== 1
|
+ 0 0 0 0 0 0 0 1 <== 1
|
||||||
---------------------
|
---------------------
|
||||||
1 0 0 0 0 0 0 0 <== sum = -128
|
1 0 0 0 0 0 0 0 <== sum = -128
|
||||||
\end{BVerbatim}
|
\end{BVerbatim}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user