diff --git a/chapter10.tex b/chapter10.tex index 273e7c7..e282429 100644 --- a/chapter10.tex +++ b/chapter10.tex @@ -54,9 +54,9 @@ For example, the bit representation of $-43$ as an \texttt{int} number is as follows: \[11111111111111111111111111010101\] -In a signed representation, only nonnegative +In an unsigned representation, only nonnegative numbers can be used, but the upper bound of the numbers is larger. -A signed number of $n$ bits can contain any +An unsigned number of $n$ bits can contain any integer between $0$ and $2^n-1$. For example, the \texttt{unsigned int} type in C++ can contain any integer between $0$ and $2^{32}-1$.