What are the required steps to convert base 10 decimal system
number 1 879 048 382 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 879 048 382 ÷ 2 = 939 524 191 + 0;
- 939 524 191 ÷ 2 = 469 762 095 + 1;
- 469 762 095 ÷ 2 = 234 881 047 + 1;
- 234 881 047 ÷ 2 = 117 440 523 + 1;
- 117 440 523 ÷ 2 = 58 720 261 + 1;
- 58 720 261 ÷ 2 = 29 360 130 + 1;
- 29 360 130 ÷ 2 = 14 680 065 + 0;
- 14 680 065 ÷ 2 = 7 340 032 + 1;
- 7 340 032 ÷ 2 = 3 670 016 + 0;
- 3 670 016 ÷ 2 = 1 835 008 + 0;
- 1 835 008 ÷ 2 = 917 504 + 0;
- 917 504 ÷ 2 = 458 752 + 0;
- 458 752 ÷ 2 = 229 376 + 0;
- 229 376 ÷ 2 = 114 688 + 0;
- 114 688 ÷ 2 = 57 344 + 0;
- 57 344 ÷ 2 = 28 672 + 0;
- 28 672 ÷ 2 = 14 336 + 0;
- 14 336 ÷ 2 = 7 168 + 0;
- 7 168 ÷ 2 = 3 584 + 0;
- 3 584 ÷ 2 = 1 792 + 0;
- 1 792 ÷ 2 = 896 + 0;
- 896 ÷ 2 = 448 + 0;
- 448 ÷ 2 = 224 + 0;
- 224 ÷ 2 = 112 + 0;
- 112 ÷ 2 = 56 + 0;
- 56 ÷ 2 = 28 + 0;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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 879 048 382(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 879 048 382 (base 10) = 111 0000 0000 0000 0000 0000 1011 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.