What are the required steps to convert base 10 decimal system
number 4 299 101 875 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;
- 4 299 101 875 ÷ 2 = 2 149 550 937 + 1;
- 2 149 550 937 ÷ 2 = 1 074 775 468 + 1;
- 1 074 775 468 ÷ 2 = 537 387 734 + 0;
- 537 387 734 ÷ 2 = 268 693 867 + 0;
- 268 693 867 ÷ 2 = 134 346 933 + 1;
- 134 346 933 ÷ 2 = 67 173 466 + 1;
- 67 173 466 ÷ 2 = 33 586 733 + 0;
- 33 586 733 ÷ 2 = 16 793 366 + 1;
- 16 793 366 ÷ 2 = 8 396 683 + 0;
- 8 396 683 ÷ 2 = 4 198 341 + 1;
- 4 198 341 ÷ 2 = 2 099 170 + 1;
- 2 099 170 ÷ 2 = 1 049 585 + 0;
- 1 049 585 ÷ 2 = 524 792 + 1;
- 524 792 ÷ 2 = 262 396 + 0;
- 262 396 ÷ 2 = 131 198 + 0;
- 131 198 ÷ 2 = 65 599 + 0;
- 65 599 ÷ 2 = 32 799 + 1;
- 32 799 ÷ 2 = 16 399 + 1;
- 16 399 ÷ 2 = 8 199 + 1;
- 8 199 ÷ 2 = 4 099 + 1;
- 4 099 ÷ 2 = 2 049 + 1;
- 2 049 ÷ 2 = 1 024 + 1;
- 1 024 ÷ 2 = 512 + 0;
- 512 ÷ 2 = 256 + 0;
- 256 ÷ 2 = 128 + 0;
- 128 ÷ 2 = 64 + 0;
- 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.
4 299 101 875(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 299 101 875 (base 10) = 1 0000 0000 0011 1111 0001 0110 1011 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.