What are the required steps to convert base 10 decimal system
number 1 370 000 000 164 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 370 000 000 164 ÷ 2 = 685 000 000 082 + 0;
- 685 000 000 082 ÷ 2 = 342 500 000 041 + 0;
- 342 500 000 041 ÷ 2 = 171 250 000 020 + 1;
- 171 250 000 020 ÷ 2 = 85 625 000 010 + 0;
- 85 625 000 010 ÷ 2 = 42 812 500 005 + 0;
- 42 812 500 005 ÷ 2 = 21 406 250 002 + 1;
- 21 406 250 002 ÷ 2 = 10 703 125 001 + 0;
- 10 703 125 001 ÷ 2 = 5 351 562 500 + 1;
- 5 351 562 500 ÷ 2 = 2 675 781 250 + 0;
- 2 675 781 250 ÷ 2 = 1 337 890 625 + 0;
- 1 337 890 625 ÷ 2 = 668 945 312 + 1;
- 668 945 312 ÷ 2 = 334 472 656 + 0;
- 334 472 656 ÷ 2 = 167 236 328 + 0;
- 167 236 328 ÷ 2 = 83 618 164 + 0;
- 83 618 164 ÷ 2 = 41 809 082 + 0;
- 41 809 082 ÷ 2 = 20 904 541 + 0;
- 20 904 541 ÷ 2 = 10 452 270 + 1;
- 10 452 270 ÷ 2 = 5 226 135 + 0;
- 5 226 135 ÷ 2 = 2 613 067 + 1;
- 2 613 067 ÷ 2 = 1 306 533 + 1;
- 1 306 533 ÷ 2 = 653 266 + 1;
- 653 266 ÷ 2 = 326 633 + 0;
- 326 633 ÷ 2 = 163 316 + 1;
- 163 316 ÷ 2 = 81 658 + 0;
- 81 658 ÷ 2 = 40 829 + 0;
- 40 829 ÷ 2 = 20 414 + 1;
- 20 414 ÷ 2 = 10 207 + 0;
- 10 207 ÷ 2 = 5 103 + 1;
- 5 103 ÷ 2 = 2 551 + 1;
- 2 551 ÷ 2 = 1 275 + 1;
- 1 275 ÷ 2 = 637 + 1;
- 637 ÷ 2 = 318 + 1;
- 318 ÷ 2 = 159 + 0;
- 159 ÷ 2 = 79 + 1;
- 79 ÷ 2 = 39 + 1;
- 39 ÷ 2 = 19 + 1;
- 19 ÷ 2 = 9 + 1;
- 9 ÷ 2 = 4 + 1;
- 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 370 000 000 164(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 370 000 000 164 (base 10) = 1 0011 1110 1111 1010 0101 1101 0000 0100 1010 0100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.