What are the required steps to convert base 10 decimal system
number 1 088 421 776 to base 2 unsigned binary equivalent?
- A number written in base ten, or a decimal system number, is a number written using the digits 0 through 9. A number written in base two, or a binary system number, is a number written using only the digits 0 and 1.
1. Divide the number repeatedly by 2:
Keep track of each remainder.
Stop when you get a quotient that is equal to zero.
- division = quotient + remainder;
- 1 088 421 776 ÷ 2 = 544 210 888 + 0;
- 544 210 888 ÷ 2 = 272 105 444 + 0;
- 272 105 444 ÷ 2 = 136 052 722 + 0;
- 136 052 722 ÷ 2 = 68 026 361 + 0;
- 68 026 361 ÷ 2 = 34 013 180 + 1;
- 34 013 180 ÷ 2 = 17 006 590 + 0;
- 17 006 590 ÷ 2 = 8 503 295 + 0;
- 8 503 295 ÷ 2 = 4 251 647 + 1;
- 4 251 647 ÷ 2 = 2 125 823 + 1;
- 2 125 823 ÷ 2 = 1 062 911 + 1;
- 1 062 911 ÷ 2 = 531 455 + 1;
- 531 455 ÷ 2 = 265 727 + 1;
- 265 727 ÷ 2 = 132 863 + 1;
- 132 863 ÷ 2 = 66 431 + 1;
- 66 431 ÷ 2 = 33 215 + 1;
- 33 215 ÷ 2 = 16 607 + 1;
- 16 607 ÷ 2 = 8 303 + 1;
- 8 303 ÷ 2 = 4 151 + 1;
- 4 151 ÷ 2 = 2 075 + 1;
- 2 075 ÷ 2 = 1 037 + 1;
- 1 037 ÷ 2 = 518 + 1;
- 518 ÷ 2 = 259 + 0;
- 259 ÷ 2 = 129 + 1;
- 129 ÷ 2 = 64 + 1;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 2 ÷ 2 = 1 + 0;
- 1 ÷ 2 = 0 + 1;
2. Construct the base 2 representation of the positive number:
Take all the remainders starting from the bottom of the list constructed above.
1 088 421 776(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 088 421 776 (base 10) = 100 0000 1101 1111 1111 1111 1001 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.