Translate the number 4545.54510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
4545 | 2 | | | | | | | | | | | | |
-4544 | 2272 | 2 | | | | | | | | | | | |
1 | -2272 | 1136 | 2 | | | | | | | | | | |
| 0 | -1136 | 568 | 2 | | | | | | | | | |
| | 0 | -568 | 284 | 2 | | | | | | | | |
| | | 0 | -284 | 142 | 2 | | | | | | | |
| | | | 0 | -142 | 71 | 2 | | | | | | |
| | | | | 0 | -70 | 35 | 2 | | | | | |
| | | | | | 1 | -34 | 17 | 2 | | | | |
| | | | | | | 1 | -16 | 8 | 2 | | | |
| | | | | | | | 1 | -8 | 4 | 2 | | |
| | | | | | | | | 0 | -4 | 2 | 2 | |
| | | | | | | | | | 0 | -2 | 1 | |
| | | | | | | | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 545*2 |
1 | .09*2 |
0 | .18*2 |
0 | .36*2 |
0 | .72*2 |
1 | .44*2 |
0 | .88*2 |
1 | .76*2 |
1 | .52*2 |
1 | .04*2 |
0 | .08*2 |
the result of the conversion was:
4545.54510 = 1000111000001.10001011102
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: -4545.54510 = 1000111000001.10001011102