Professional Documents
Culture Documents
Numbersystems DE slt1
Numbersystems DE slt1
Numbersystems DE slt1
R.Nirmaladevi
0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
4 3 2 1 0 Position value
4
N4 N3 N2 N1 N0 Digits of decimal
number(b=10)
10 4 10 3 10 2 10 1 0 Weight of each position
10
(positional weights)
ab N
where the base ‘b’ is an integer greater than 1
i p
i
i
Example: 3721.65 =
3*103 + 7*102 + 2*101 + 1*100 + 6*10-1 + 5*10-2
= 3000 +700 +20 +1 +0.6 +0.05
=(16 + 8 + 4 + 0 + 1)10=2910
=128+24+4=15610
0.2348=2×8–1+ 3×8–2+4×8–3
=0.25+0.046875+0.0078125=0.304687510
Step 1 − Divide the decimal number to be converted by the value of the new base.
Step 2 − Get the remainder from Step 1 as the rightmost digit (least significant Digit ) of
new base
Step 3 − Divide the quotient of the previous by the new base number.
Step 4 − Record the remainder from Step 3 as the next digit (to the left) of the new base
number.
Repeat Steps 3 and 4, getting remainders from right to left, until the quotient becomes zero in
Step 3.The last remainder thus obtained will be the Most Significant Digit (MSD) of the new
base number.
Step 1 29 / 2 14 1 LSB
Step 2 14 / 2 7 0
( 11101)2
Step 3 7/2 3 1
Step 4 3/2 1 1
26 25 24 23 22 21 20
124 = 1 1 1 1 1 0 0
(327)10 (101000111) 2
2 101
2 50 1 LSB
2 25 0
2 12 1
2 6 0
2 3 0
2 1 1
0 1 MSB
fractional part
0.235×2= 0.470 0
0.470×2= 0.940 0
0.940×2= 1.880 1
0.880×2= 1.760 1
0.760×2= 1.520 1
For fractional part, repeatedly multiply the fractional part with the base 2 and write the integer parts
in a sequence from top to bottom as shown
0.235= (0.00111)2
101.235= (1100101.00111)2
For integer part, repeatedly divide the quotients with the base 8 until we get 0 as quotient.
Write the remainders in a sequence from bottom to top .
For fractional part Repeatedly multiply the fractional part with the base 8 and write the
integer parts in a sequence from top to bottom as shown
2B8.90A3D
The binary digits are grouped as ‘n’ bits together from LSB to MSB for integer part of
number, if groupings of ‘n’ are not possible then zeroes are padded before the MSB
for fractional part the groupings are done towards right of binary point and zeroes
are padded towards right at the end of the number to make groupings of ‘ n ‘. Each