What are the required steps to convert base 10 decimal system
number 2 532 489 488 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 532 489 488 ÷ 2 = 1 266 244 744 + 0;
- 1 266 244 744 ÷ 2 = 633 122 372 + 0;
- 633 122 372 ÷ 2 = 316 561 186 + 0;
- 316 561 186 ÷ 2 = 158 280 593 + 0;
- 158 280 593 ÷ 2 = 79 140 296 + 1;
- 79 140 296 ÷ 2 = 39 570 148 + 0;
- 39 570 148 ÷ 2 = 19 785 074 + 0;
- 19 785 074 ÷ 2 = 9 892 537 + 0;
- 9 892 537 ÷ 2 = 4 946 268 + 1;
- 4 946 268 ÷ 2 = 2 473 134 + 0;
- 2 473 134 ÷ 2 = 1 236 567 + 0;
- 1 236 567 ÷ 2 = 618 283 + 1;
- 618 283 ÷ 2 = 309 141 + 1;
- 309 141 ÷ 2 = 154 570 + 1;
- 154 570 ÷ 2 = 77 285 + 0;
- 77 285 ÷ 2 = 38 642 + 1;
- 38 642 ÷ 2 = 19 321 + 0;
- 19 321 ÷ 2 = 9 660 + 1;
- 9 660 ÷ 2 = 4 830 + 0;
- 4 830 ÷ 2 = 2 415 + 0;
- 2 415 ÷ 2 = 1 207 + 1;
- 1 207 ÷ 2 = 603 + 1;
- 603 ÷ 2 = 301 + 1;
- 301 ÷ 2 = 150 + 1;
- 150 ÷ 2 = 75 + 0;
- 75 ÷ 2 = 37 + 1;
- 37 ÷ 2 = 18 + 1;
- 18 ÷ 2 = 9 + 0;
- 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.
2 532 489 488(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 532 489 488 (base 10) = 1001 0110 1111 0010 1011 1001 0001 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.