What are the required steps to convert base 10 decimal system
number 2 699 999 999 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;
- 2 699 999 999 ÷ 2 = 1 349 999 999 + 1;
- 1 349 999 999 ÷ 2 = 674 999 999 + 1;
- 674 999 999 ÷ 2 = 337 499 999 + 1;
- 337 499 999 ÷ 2 = 168 749 999 + 1;
- 168 749 999 ÷ 2 = 84 374 999 + 1;
- 84 374 999 ÷ 2 = 42 187 499 + 1;
- 42 187 499 ÷ 2 = 21 093 749 + 1;
- 21 093 749 ÷ 2 = 10 546 874 + 1;
- 10 546 874 ÷ 2 = 5 273 437 + 0;
- 5 273 437 ÷ 2 = 2 636 718 + 1;
- 2 636 718 ÷ 2 = 1 318 359 + 0;
- 1 318 359 ÷ 2 = 659 179 + 1;
- 659 179 ÷ 2 = 329 589 + 1;
- 329 589 ÷ 2 = 164 794 + 1;
- 164 794 ÷ 2 = 82 397 + 0;
- 82 397 ÷ 2 = 41 198 + 1;
- 41 198 ÷ 2 = 20 599 + 0;
- 20 599 ÷ 2 = 10 299 + 1;
- 10 299 ÷ 2 = 5 149 + 1;
- 5 149 ÷ 2 = 2 574 + 1;
- 2 574 ÷ 2 = 1 287 + 0;
- 1 287 ÷ 2 = 643 + 1;
- 643 ÷ 2 = 321 + 1;
- 321 ÷ 2 = 160 + 1;
- 160 ÷ 2 = 80 + 0;
- 80 ÷ 2 = 40 + 0;
- 40 ÷ 2 = 20 + 0;
- 20 ÷ 2 = 10 + 0;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 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.
2 699 999 999(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 699 999 999 (base 10) = 1010 0000 1110 1110 1011 1010 1111 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.