Re: Die üblichen Ü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 * 2     = 1.56250   1
0.56250 * 2     = 1.12500   1
0.12500 * 2     = 0.25000   0
0.25000 * 2     = 0.50000   0
0.50000 * 2     = 1.00000   1


    78125
    78125
       1
---------
    1.56250

0.56250
0.56250
-------
1.12500


1100 10011

1,100 10011 * 2\^3

3 Bit Shiften

127 + 3 = 130

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

1100 10011
1 Vorne weg machen

["s][10000010][100 11001]

0100.0001.0100.1100.1000.0000.0000.0000

0x414C8000