What are the required steps to convert base 10 decimal system
number 89 999 999 999 999 986 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;
- 89 999 999 999 999 986 ÷ 2 = 44 999 999 999 999 993 + 0;
- 44 999 999 999 999 993 ÷ 2 = 22 499 999 999 999 996 + 1;
- 22 499 999 999 999 996 ÷ 2 = 11 249 999 999 999 998 + 0;
- 11 249 999 999 999 998 ÷ 2 = 5 624 999 999 999 999 + 0;
- 5 624 999 999 999 999 ÷ 2 = 2 812 499 999 999 999 + 1;
- 2 812 499 999 999 999 ÷ 2 = 1 406 249 999 999 999 + 1;
- 1 406 249 999 999 999 ÷ 2 = 703 124 999 999 999 + 1;
- 703 124 999 999 999 ÷ 2 = 351 562 499 999 999 + 1;
- 351 562 499 999 999 ÷ 2 = 175 781 249 999 999 + 1;
- 175 781 249 999 999 ÷ 2 = 87 890 624 999 999 + 1;
- 87 890 624 999 999 ÷ 2 = 43 945 312 499 999 + 1;
- 43 945 312 499 999 ÷ 2 = 21 972 656 249 999 + 1;
- 21 972 656 249 999 ÷ 2 = 10 986 328 124 999 + 1;
- 10 986 328 124 999 ÷ 2 = 5 493 164 062 499 + 1;
- 5 493 164 062 499 ÷ 2 = 2 746 582 031 249 + 1;
- 2 746 582 031 249 ÷ 2 = 1 373 291 015 624 + 1;
- 1 373 291 015 624 ÷ 2 = 686 645 507 812 + 0;
- 686 645 507 812 ÷ 2 = 343 322 753 906 + 0;
- 343 322 753 906 ÷ 2 = 171 661 376 953 + 0;
- 171 661 376 953 ÷ 2 = 85 830 688 476 + 1;
- 85 830 688 476 ÷ 2 = 42 915 344 238 + 0;
- 42 915 344 238 ÷ 2 = 21 457 672 119 + 0;
- 21 457 672 119 ÷ 2 = 10 728 836 059 + 1;
- 10 728 836 059 ÷ 2 = 5 364 418 029 + 1;
- 5 364 418 029 ÷ 2 = 2 682 209 014 + 1;
- 2 682 209 014 ÷ 2 = 1 341 104 507 + 0;
- 1 341 104 507 ÷ 2 = 670 552 253 + 1;
- 670 552 253 ÷ 2 = 335 276 126 + 1;
- 335 276 126 ÷ 2 = 167 638 063 + 0;
- 167 638 063 ÷ 2 = 83 819 031 + 1;
- 83 819 031 ÷ 2 = 41 909 515 + 1;
- 41 909 515 ÷ 2 = 20 954 757 + 1;
- 20 954 757 ÷ 2 = 10 477 378 + 1;
- 10 477 378 ÷ 2 = 5 238 689 + 0;
- 5 238 689 ÷ 2 = 2 619 344 + 1;
- 2 619 344 ÷ 2 = 1 309 672 + 0;
- 1 309 672 ÷ 2 = 654 836 + 0;
- 654 836 ÷ 2 = 327 418 + 0;
- 327 418 ÷ 2 = 163 709 + 0;
- 163 709 ÷ 2 = 81 854 + 1;
- 81 854 ÷ 2 = 40 927 + 0;
- 40 927 ÷ 2 = 20 463 + 1;
- 20 463 ÷ 2 = 10 231 + 1;
- 10 231 ÷ 2 = 5 115 + 1;
- 5 115 ÷ 2 = 2 557 + 1;
- 2 557 ÷ 2 = 1 278 + 1;
- 1 278 ÷ 2 = 639 + 0;
- 639 ÷ 2 = 319 + 1;
- 319 ÷ 2 = 159 + 1;
- 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.
89 999 999 999 999 986(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
89 999 999 999 999 986 (base 10) = 1 0011 1111 1011 1110 1000 0101 1110 1101 1100 1000 1111 1111 1111 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.