Re: Aufgaben und Übungen,

12.78125

12 / 2 = 6              Rest 0
6  / 2 = 3              Rest 0
3  / 2 = 1              Rest 1
1  / 2 = 0              Rest 1

0.78125

0.78125
0.78125
1  1   1
-------
1.56250

0.56250
0.56250
1  1  21
-------
1.1250

0.78125 * 2 = 1.56250       1
0.56250 * 2 = 1.1250        1
0.125 * 2 = 0.25            0
0.25 * 2 = 0.5              0
0.5 * 2 = 1                 1

1100,11001

1,10011001 * 2\^3

10011001 * 2\^3

127 + 3 = 130 / 2 = 65  Rest 0
65 / 2 = 32             Rest 1
32 / 2 = 16             Rest 0
16 / 2 = 8              Rest 0
8 / 2 = 4               Rest 0
4 / 2 = 2               Rest 0
2 / 2 = 1               Rest 0
1 / 2 = 0               Rest 1


0|10000010|10011001


0100.0001.0100.1100.1000.0000.0000.0000b

0x414C8000