Translate the number 27.67510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
27 | 2 | | | | |
-26 | 13 | 2 | | | |
1 | -12 | 6 | 2 | | |
| 1 | -6 | 3 | 2 | |
| | 0 | -2 | 1 | |
| | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 675*2 |
1 | .35*2 |
0 | .7*2 |
1 | .4*2 |
0 | .8*2 |
1 | .6*2 |
1 | .2*2 |
0 | .4*2 |
0 | .8*2 |
1 | .6*2 |
1 | .2*2 |
the result of the conversion was:
27.67510 = 11011.10101100112
We found that Your number is negative. For further translation from direct code to additional code, specify the size of the number: (1 byte, 2 bytes, 4 bytes, 8 bytes).
answer: -27.67510 = 11011.10101100112