diff --git a/chapter10.tex b/chapter10.tex index 9c649c9..afa4516 100644 --- a/chapter10.tex +++ b/chapter10.tex @@ -77,7 +77,7 @@ of the bit representation, the number will overflow. In a signed representation, the next number after $2^{n-1}-1$ is $-2^{n-1}$, and in an unsigned representation, -the next number after $2^{n-1}$ is $0$. +the next number after $2^n-1$ is $0$. For example, consider the following code: \begin{lstlisting} int x = 2147483647