1
- 02 Information theory
02.02 Binary arithmetic
- Positional notation
- Unsigned integers
- Unsigned fixed-point
- Signed numbers
- Floating point numbers
- Base conversions
- Binary arithmetic
- Positional notation
- f unsigned integers
1 1 2 2 1 1
... b c b c b c b c
n n n n
+ + + +
− − − −
1 2 1
... c c c c
n n − −
- The base-b positional representation of an
integer number of n digits has the form
- The value of the number is
- n digits encode all integer numbers from 0 to
bn-1
Example: b=2, n=5 10011=1*16+1*2+1*1=19 11111=31=25-1
(1) (2)