1 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 358 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 1 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 358(10) to 64 bit double precision IEEE 754 binary floating point representation standard (1 bit for sign, 11 bits for exponent, 52 bits for mantissa)

What are the steps to convert decimal number
1 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 358(10) to 64 bit double precision IEEE 754 binary floating point representation (1 bit for sign, 11 bits for exponent, 52 bits for mantissa)

1. Divide the number repeatedly by 2.

Keep track of each remainder.

We stop when we get a quotient that is equal to zero.


  • division = quotient + remainder;
  • 1 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 358 ÷ 2 = 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 179 + 0;
  • 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 179 ÷ 2 = 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 089 + 1;
  • 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 089 ÷ 2 = 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 044 + 1;
  • 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 044 ÷ 2 = 62 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 022 + 0;
  • 62 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 022 ÷ 2 = 31 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 011 + 0;
  • 31 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 011 ÷ 2 = 15 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 005 + 1;
  • 15 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 005 ÷ 2 = 7 812 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 002 + 1;
  • 7 812 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 002 ÷ 2 = 3 906 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 001 + 0;
  • 3 906 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 001 ÷ 2 = 1 953 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 1;
  • 1 953 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 976 562 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 976 562 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 488 281 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 488 281 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 244 140 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 244 140 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 122 070 312 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 122 070 312 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 61 035 156 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 61 035 156 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 30 517 578 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 30 517 578 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 15 258 789 062 500 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 15 258 789 062 500 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 7 629 394 531 250 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 7 629 394 531 250 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 3 814 697 265 625 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 3 814 697 265 625 000 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 1 907 348 632 812 500 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 1 907 348 632 812 500 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 953 674 316 406 250 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 953 674 316 406 250 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 476 837 158 203 125 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 476 837 158 203 125 000 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 238 418 579 101 562 500 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 238 418 579 101 562 500 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 119 209 289 550 781 250 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 119 209 289 550 781 250 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 59 604 644 775 390 625 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 59 604 644 775 390 625 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 29 802 322 387 695 312 500 000 000 000 000 000 000 000 000 000 000 + 0;
  • 29 802 322 387 695 312 500 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 14 901 161 193 847 656 250 000 000 000 000 000 000 000 000 000 000 + 0;
  • 14 901 161 193 847 656 250 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 7 450 580 596 923 828 125 000 000 000 000 000 000 000 000 000 000 + 0;
  • 7 450 580 596 923 828 125 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 3 725 290 298 461 914 062 500 000 000 000 000 000 000 000 000 000 + 0;
  • 3 725 290 298 461 914 062 500 000 000 000 000 000 000 000 000 000 ÷ 2 = 1 862 645 149 230 957 031 250 000 000 000 000 000 000 000 000 000 + 0;
  • 1 862 645 149 230 957 031 250 000 000 000 000 000 000 000 000 000 ÷ 2 = 931 322 574 615 478 515 625 000 000 000 000 000 000 000 000 000 + 0;
  • 931 322 574 615 478 515 625 000 000 000 000 000 000 000 000 000 ÷ 2 = 465 661 287 307 739 257 812 500 000 000 000 000 000 000 000 000 + 0;
  • 465 661 287 307 739 257 812 500 000 000 000 000 000 000 000 000 ÷ 2 = 232 830 643 653 869 628 906 250 000 000 000 000 000 000 000 000 + 0;
  • 232 830 643 653 869 628 906 250 000 000 000 000 000 000 000 000 ÷ 2 = 116 415 321 826 934 814 453 125 000 000 000 000 000 000 000 000 + 0;
  • 116 415 321 826 934 814 453 125 000 000 000 000 000 000 000 000 ÷ 2 = 58 207 660 913 467 407 226 562 500 000 000 000 000 000 000 000 + 0;
  • 58 207 660 913 467 407 226 562 500 000 000 000 000 000 000 000 ÷ 2 = 29 103 830 456 733 703 613 281 250 000 000 000 000 000 000 000 + 0;
  • 29 103 830 456 733 703 613 281 250 000 000 000 000 000 000 000 ÷ 2 = 14 551 915 228 366 851 806 640 625 000 000 000 000 000 000 000 + 0;
  • 14 551 915 228 366 851 806 640 625 000 000 000 000 000 000 000 ÷ 2 = 7 275 957 614 183 425 903 320 312 500 000 000 000 000 000 000 + 0;
  • 7 275 957 614 183 425 903 320 312 500 000 000 000 000 000 000 ÷ 2 = 3 637 978 807 091 712 951 660 156 250 000 000 000 000 000 000 + 0;
  • 3 637 978 807 091 712 951 660 156 250 000 000 000 000 000 000 ÷ 2 = 1 818 989 403 545 856 475 830 078 125 000 000 000 000 000 000 + 0;
  • 1 818 989 403 545 856 475 830 078 125 000 000 000 000 000 000 ÷ 2 = 909 494 701 772 928 237 915 039 062 500 000 000 000 000 000 + 0;
  • 909 494 701 772 928 237 915 039 062 500 000 000 000 000 000 ÷ 2 = 454 747 350 886 464 118 957 519 531 250 000 000 000 000 000 + 0;
  • 454 747 350 886 464 118 957 519 531 250 000 000 000 000 000 ÷ 2 = 227 373 675 443 232 059 478 759 765 625 000 000 000 000 000 + 0;
  • 227 373 675 443 232 059 478 759 765 625 000 000 000 000 000 ÷ 2 = 113 686 837 721 616 029 739 379 882 812 500 000 000 000 000 + 0;
  • 113 686 837 721 616 029 739 379 882 812 500 000 000 000 000 ÷ 2 = 56 843 418 860 808 014 869 689 941 406 250 000 000 000 000 + 0;
  • 56 843 418 860 808 014 869 689 941 406 250 000 000 000 000 ÷ 2 = 28 421 709 430 404 007 434 844 970 703 125 000 000 000 000 + 0;
  • 28 421 709 430 404 007 434 844 970 703 125 000 000 000 000 ÷ 2 = 14 210 854 715 202 003 717 422 485 351 562 500 000 000 000 + 0;
  • 14 210 854 715 202 003 717 422 485 351 562 500 000 000 000 ÷ 2 = 7 105 427 357 601 001 858 711 242 675 781 250 000 000 000 + 0;
  • 7 105 427 357 601 001 858 711 242 675 781 250 000 000 000 ÷ 2 = 3 552 713 678 800 500 929 355 621 337 890 625 000 000 000 + 0;
  • 3 552 713 678 800 500 929 355 621 337 890 625 000 000 000 ÷ 2 = 1 776 356 839 400 250 464 677 810 668 945 312 500 000 000 + 0;
  • 1 776 356 839 400 250 464 677 810 668 945 312 500 000 000 ÷ 2 = 888 178 419 700 125 232 338 905 334 472 656 250 000 000 + 0;
  • 888 178 419 700 125 232 338 905 334 472 656 250 000 000 ÷ 2 = 444 089 209 850 062 616 169 452 667 236 328 125 000 000 + 0;
  • 444 089 209 850 062 616 169 452 667 236 328 125 000 000 ÷ 2 = 222 044 604 925 031 308 084 726 333 618 164 062 500 000 + 0;
  • 222 044 604 925 031 308 084 726 333 618 164 062 500 000 ÷ 2 = 111 022 302 462 515 654 042 363 166 809 082 031 250 000 + 0;
  • 111 022 302 462 515 654 042 363 166 809 082 031 250 000 ÷ 2 = 55 511 151 231 257 827 021 181 583 404 541 015 625 000 + 0;
  • 55 511 151 231 257 827 021 181 583 404 541 015 625 000 ÷ 2 = 27 755 575 615 628 913 510 590 791 702 270 507 812 500 + 0;
  • 27 755 575 615 628 913 510 590 791 702 270 507 812 500 ÷ 2 = 13 877 787 807 814 456 755 295 395 851 135 253 906 250 + 0;
  • 13 877 787 807 814 456 755 295 395 851 135 253 906 250 ÷ 2 = 6 938 893 903 907 228 377 647 697 925 567 626 953 125 + 0;
  • 6 938 893 903 907 228 377 647 697 925 567 626 953 125 ÷ 2 = 3 469 446 951 953 614 188 823 848 962 783 813 476 562 + 1;
  • 3 469 446 951 953 614 188 823 848 962 783 813 476 562 ÷ 2 = 1 734 723 475 976 807 094 411 924 481 391 906 738 281 + 0;
  • 1 734 723 475 976 807 094 411 924 481 391 906 738 281 ÷ 2 = 867 361 737 988 403 547 205 962 240 695 953 369 140 + 1;
  • 867 361 737 988 403 547 205 962 240 695 953 369 140 ÷ 2 = 433 680 868 994 201 773 602 981 120 347 976 684 570 + 0;
  • 433 680 868 994 201 773 602 981 120 347 976 684 570 ÷ 2 = 216 840 434 497 100 886 801 490 560 173 988 342 285 + 0;
  • 216 840 434 497 100 886 801 490 560 173 988 342 285 ÷ 2 = 108 420 217 248 550 443 400 745 280 086 994 171 142 + 1;
  • 108 420 217 248 550 443 400 745 280 086 994 171 142 ÷ 2 = 54 210 108 624 275 221 700 372 640 043 497 085 571 + 0;
  • 54 210 108 624 275 221 700 372 640 043 497 085 571 ÷ 2 = 27 105 054 312 137 610 850 186 320 021 748 542 785 + 1;
  • 27 105 054 312 137 610 850 186 320 021 748 542 785 ÷ 2 = 13 552 527 156 068 805 425 093 160 010 874 271 392 + 1;
  • 13 552 527 156 068 805 425 093 160 010 874 271 392 ÷ 2 = 6 776 263 578 034 402 712 546 580 005 437 135 696 + 0;
  • 6 776 263 578 034 402 712 546 580 005 437 135 696 ÷ 2 = 3 388 131 789 017 201 356 273 290 002 718 567 848 + 0;
  • 3 388 131 789 017 201 356 273 290 002 718 567 848 ÷ 2 = 1 694 065 894 508 600 678 136 645 001 359 283 924 + 0;
  • 1 694 065 894 508 600 678 136 645 001 359 283 924 ÷ 2 = 847 032 947 254 300 339 068 322 500 679 641 962 + 0;
  • 847 032 947 254 300 339 068 322 500 679 641 962 ÷ 2 = 423 516 473 627 150 169 534 161 250 339 820 981 + 0;
  • 423 516 473 627 150 169 534 161 250 339 820 981 ÷ 2 = 211 758 236 813 575 084 767 080 625 169 910 490 + 1;
  • 211 758 236 813 575 084 767 080 625 169 910 490 ÷ 2 = 105 879 118 406 787 542 383 540 312 584 955 245 + 0;
  • 105 879 118 406 787 542 383 540 312 584 955 245 ÷ 2 = 52 939 559 203 393 771 191 770 156 292 477 622 + 1;
  • 52 939 559 203 393 771 191 770 156 292 477 622 ÷ 2 = 26 469 779 601 696 885 595 885 078 146 238 811 + 0;
  • 26 469 779 601 696 885 595 885 078 146 238 811 ÷ 2 = 13 234 889 800 848 442 797 942 539 073 119 405 + 1;
  • 13 234 889 800 848 442 797 942 539 073 119 405 ÷ 2 = 6 617 444 900 424 221 398 971 269 536 559 702 + 1;
  • 6 617 444 900 424 221 398 971 269 536 559 702 ÷ 2 = 3 308 722 450 212 110 699 485 634 768 279 851 + 0;
  • 3 308 722 450 212 110 699 485 634 768 279 851 ÷ 2 = 1 654 361 225 106 055 349 742 817 384 139 925 + 1;
  • 1 654 361 225 106 055 349 742 817 384 139 925 ÷ 2 = 827 180 612 553 027 674 871 408 692 069 962 + 1;
  • 827 180 612 553 027 674 871 408 692 069 962 ÷ 2 = 413 590 306 276 513 837 435 704 346 034 981 + 0;
  • 413 590 306 276 513 837 435 704 346 034 981 ÷ 2 = 206 795 153 138 256 918 717 852 173 017 490 + 1;
  • 206 795 153 138 256 918 717 852 173 017 490 ÷ 2 = 103 397 576 569 128 459 358 926 086 508 745 + 0;
  • 103 397 576 569 128 459 358 926 086 508 745 ÷ 2 = 51 698 788 284 564 229 679 463 043 254 372 + 1;
  • 51 698 788 284 564 229 679 463 043 254 372 ÷ 2 = 25 849 394 142 282 114 839 731 521 627 186 + 0;
  • 25 849 394 142 282 114 839 731 521 627 186 ÷ 2 = 12 924 697 071 141 057 419 865 760 813 593 + 0;
  • 12 924 697 071 141 057 419 865 760 813 593 ÷ 2 = 6 462 348 535 570 528 709 932 880 406 796 + 1;
  • 6 462 348 535 570 528 709 932 880 406 796 ÷ 2 = 3 231 174 267 785 264 354 966 440 203 398 + 0;
  • 3 231 174 267 785 264 354 966 440 203 398 ÷ 2 = 1 615 587 133 892 632 177 483 220 101 699 + 0;
  • 1 615 587 133 892 632 177 483 220 101 699 ÷ 2 = 807 793 566 946 316 088 741 610 050 849 + 1;
  • 807 793 566 946 316 088 741 610 050 849 ÷ 2 = 403 896 783 473 158 044 370 805 025 424 + 1;
  • 403 896 783 473 158 044 370 805 025 424 ÷ 2 = 201 948 391 736 579 022 185 402 512 712 + 0;
  • 201 948 391 736 579 022 185 402 512 712 ÷ 2 = 100 974 195 868 289 511 092 701 256 356 + 0;
  • 100 974 195 868 289 511 092 701 256 356 ÷ 2 = 50 487 097 934 144 755 546 350 628 178 + 0;
  • 50 487 097 934 144 755 546 350 628 178 ÷ 2 = 25 243 548 967 072 377 773 175 314 089 + 0;
  • 25 243 548 967 072 377 773 175 314 089 ÷ 2 = 12 621 774 483 536 188 886 587 657 044 + 1;
  • 12 621 774 483 536 188 886 587 657 044 ÷ 2 = 6 310 887 241 768 094 443 293 828 522 + 0;
  • 6 310 887 241 768 094 443 293 828 522 ÷ 2 = 3 155 443 620 884 047 221 646 914 261 + 0;
  • 3 155 443 620 884 047 221 646 914 261 ÷ 2 = 1 577 721 810 442 023 610 823 457 130 + 1;
  • 1 577 721 810 442 023 610 823 457 130 ÷ 2 = 788 860 905 221 011 805 411 728 565 + 0;
  • 788 860 905 221 011 805 411 728 565 ÷ 2 = 394 430 452 610 505 902 705 864 282 + 1;
  • 394 430 452 610 505 902 705 864 282 ÷ 2 = 197 215 226 305 252 951 352 932 141 + 0;
  • 197 215 226 305 252 951 352 932 141 ÷ 2 = 98 607 613 152 626 475 676 466 070 + 1;
  • 98 607 613 152 626 475 676 466 070 ÷ 2 = 49 303 806 576 313 237 838 233 035 + 0;
  • 49 303 806 576 313 237 838 233 035 ÷ 2 = 24 651 903 288 156 618 919 116 517 + 1;
  • 24 651 903 288 156 618 919 116 517 ÷ 2 = 12 325 951 644 078 309 459 558 258 + 1;
  • 12 325 951 644 078 309 459 558 258 ÷ 2 = 6 162 975 822 039 154 729 779 129 + 0;
  • 6 162 975 822 039 154 729 779 129 ÷ 2 = 3 081 487 911 019 577 364 889 564 + 1;
  • 3 081 487 911 019 577 364 889 564 ÷ 2 = 1 540 743 955 509 788 682 444 782 + 0;
  • 1 540 743 955 509 788 682 444 782 ÷ 2 = 770 371 977 754 894 341 222 391 + 0;
  • 770 371 977 754 894 341 222 391 ÷ 2 = 385 185 988 877 447 170 611 195 + 1;
  • 385 185 988 877 447 170 611 195 ÷ 2 = 192 592 994 438 723 585 305 597 + 1;
  • 192 592 994 438 723 585 305 597 ÷ 2 = 96 296 497 219 361 792 652 798 + 1;
  • 96 296 497 219 361 792 652 798 ÷ 2 = 48 148 248 609 680 896 326 399 + 0;
  • 48 148 248 609 680 896 326 399 ÷ 2 = 24 074 124 304 840 448 163 199 + 1;
  • 24 074 124 304 840 448 163 199 ÷ 2 = 12 037 062 152 420 224 081 599 + 1;
  • 12 037 062 152 420 224 081 599 ÷ 2 = 6 018 531 076 210 112 040 799 + 1;
  • 6 018 531 076 210 112 040 799 ÷ 2 = 3 009 265 538 105 056 020 399 + 1;
  • 3 009 265 538 105 056 020 399 ÷ 2 = 1 504 632 769 052 528 010 199 + 1;
  • 1 504 632 769 052 528 010 199 ÷ 2 = 752 316 384 526 264 005 099 + 1;
  • 752 316 384 526 264 005 099 ÷ 2 = 376 158 192 263 132 002 549 + 1;
  • 376 158 192 263 132 002 549 ÷ 2 = 188 079 096 131 566 001 274 + 1;
  • 188 079 096 131 566 001 274 ÷ 2 = 94 039 548 065 783 000 637 + 0;
  • 94 039 548 065 783 000 637 ÷ 2 = 47 019 774 032 891 500 318 + 1;
  • 47 019 774 032 891 500 318 ÷ 2 = 23 509 887 016 445 750 159 + 0;
  • 23 509 887 016 445 750 159 ÷ 2 = 11 754 943 508 222 875 079 + 1;
  • 11 754 943 508 222 875 079 ÷ 2 = 5 877 471 754 111 437 539 + 1;
  • 5 877 471 754 111 437 539 ÷ 2 = 2 938 735 877 055 718 769 + 1;
  • 2 938 735 877 055 718 769 ÷ 2 = 1 469 367 938 527 859 384 + 1;
  • 1 469 367 938 527 859 384 ÷ 2 = 734 683 969 263 929 692 + 0;
  • 734 683 969 263 929 692 ÷ 2 = 367 341 984 631 964 846 + 0;
  • 367 341 984 631 964 846 ÷ 2 = 183 670 992 315 982 423 + 0;
  • 183 670 992 315 982 423 ÷ 2 = 91 835 496 157 991 211 + 1;
  • 91 835 496 157 991 211 ÷ 2 = 45 917 748 078 995 605 + 1;
  • 45 917 748 078 995 605 ÷ 2 = 22 958 874 039 497 802 + 1;
  • 22 958 874 039 497 802 ÷ 2 = 11 479 437 019 748 901 + 0;
  • 11 479 437 019 748 901 ÷ 2 = 5 739 718 509 874 450 + 1;
  • 5 739 718 509 874 450 ÷ 2 = 2 869 859 254 937 225 + 0;
  • 2 869 859 254 937 225 ÷ 2 = 1 434 929 627 468 612 + 1;
  • 1 434 929 627 468 612 ÷ 2 = 717 464 813 734 306 + 0;
  • 717 464 813 734 306 ÷ 2 = 358 732 406 867 153 + 0;
  • 358 732 406 867 153 ÷ 2 = 179 366 203 433 576 + 1;
  • 179 366 203 433 576 ÷ 2 = 89 683 101 716 788 + 0;
  • 89 683 101 716 788 ÷ 2 = 44 841 550 858 394 + 0;
  • 44 841 550 858 394 ÷ 2 = 22 420 775 429 197 + 0;
  • 22 420 775 429 197 ÷ 2 = 11 210 387 714 598 + 1;
  • 11 210 387 714 598 ÷ 2 = 5 605 193 857 299 + 0;
  • 5 605 193 857 299 ÷ 2 = 2 802 596 928 649 + 1;
  • 2 802 596 928 649 ÷ 2 = 1 401 298 464 324 + 1;
  • 1 401 298 464 324 ÷ 2 = 700 649 232 162 + 0;
  • 700 649 232 162 ÷ 2 = 350 324 616 081 + 0;
  • 350 324 616 081 ÷ 2 = 175 162 308 040 + 1;
  • 175 162 308 040 ÷ 2 = 87 581 154 020 + 0;
  • 87 581 154 020 ÷ 2 = 43 790 577 010 + 0;
  • 43 790 577 010 ÷ 2 = 21 895 288 505 + 0;
  • 21 895 288 505 ÷ 2 = 10 947 644 252 + 1;
  • 10 947 644 252 ÷ 2 = 5 473 822 126 + 0;
  • 5 473 822 126 ÷ 2 = 2 736 911 063 + 0;
  • 2 736 911 063 ÷ 2 = 1 368 455 531 + 1;
  • 1 368 455 531 ÷ 2 = 684 227 765 + 1;
  • 684 227 765 ÷ 2 = 342 113 882 + 1;
  • 342 113 882 ÷ 2 = 171 056 941 + 0;
  • 171 056 941 ÷ 2 = 85 528 470 + 1;
  • 85 528 470 ÷ 2 = 42 764 235 + 0;
  • 42 764 235 ÷ 2 = 21 382 117 + 1;
  • 21 382 117 ÷ 2 = 10 691 058 + 1;
  • 10 691 058 ÷ 2 = 5 345 529 + 0;
  • 5 345 529 ÷ 2 = 2 672 764 + 1;
  • 2 672 764 ÷ 2 = 1 336 382 + 0;
  • 1 336 382 ÷ 2 = 668 191 + 0;
  • 668 191 ÷ 2 = 334 095 + 1;
  • 334 095 ÷ 2 = 167 047 + 1;
  • 167 047 ÷ 2 = 83 523 + 1;
  • 83 523 ÷ 2 = 41 761 + 1;
  • 41 761 ÷ 2 = 20 880 + 1;
  • 20 880 ÷ 2 = 10 440 + 0;
  • 10 440 ÷ 2 = 5 220 + 0;
  • 5 220 ÷ 2 = 2 610 + 0;
  • 2 610 ÷ 2 = 1 305 + 0;
  • 1 305 ÷ 2 = 652 + 1;
  • 652 ÷ 2 = 326 + 0;
  • 326 ÷ 2 = 163 + 0;
  • 163 ÷ 2 = 81 + 1;
  • 81 ÷ 2 = 40 + 1;
  • 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.

1 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 358(10) =


10 1000 1100 1000 0111 1100 1011 0101 1100 1000 1001 1010 0010 0101 0111 0001 1110 1011 1111 1101 1100 1011 0101 0100 1000 0110 0100 1010 1101 1010 1000 0011 0100 1010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0110 0110(2)


3. Normalize the binary representation of the number.

Shift the decimal mark 189 positions to the left, so that only one non zero digit remains to the left of it:


1 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 358(10) =


10 1000 1100 1000 0111 1100 1011 0101 1100 1000 1001 1010 0010 0101 0111 0001 1110 1011 1111 1101 1100 1011 0101 0100 1000 0110 0100 1010 1101 1010 1000 0011 0100 1010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0110 0110(2) =


10 1000 1100 1000 0111 1100 1011 0101 1100 1000 1001 1010 0010 0101 0111 0001 1110 1011 1111 1101 1100 1011 0101 0100 1000 0110 0100 1010 1101 1010 1000 0011 0100 1010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0110 0110(2) × 20 =


1.0100 0110 0100 0011 1110 0101 1010 1110 0100 0100 1101 0001 0010 1011 1000 1111 0101 1111 1110 1110 0101 1010 1010 0100 0011 0010 0101 0110 1101 0100 0001 1010 0101 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1011 0011 0(2) × 2189


4. Up to this moment, there are the following elements that would feed into the 64 bit double precision IEEE 754 binary floating point representation:

Sign 0 (a positive number)


Exponent (unadjusted): 189


Mantissa (not normalized):
1.0100 0110 0100 0011 1110 0101 1010 1110 0100 0100 1101 0001 0010 1011 1000 1111 0101 1111 1110 1110 0101 1010 1010 0100 0011 0010 0101 0110 1101 0100 0001 1010 0101 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1011 0011 0


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


Exponent (unadjusted) + 2(11-1) - 1 =


189 + 2(11-1) - 1 =


(189 + 1 023)(10) =


1 212(10)


6. Convert the adjusted exponent from the decimal (base 10) to 11 bit binary.

Use the same technique of repeatedly dividing by 2:


  • division = quotient + remainder;
  • 1 212 ÷ 2 = 606 + 0;
  • 606 ÷ 2 = 303 + 0;
  • 303 ÷ 2 = 151 + 1;
  • 151 ÷ 2 = 75 + 1;
  • 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;

7. Construct the base 2 representation of the adjusted exponent.

Take all the remainders starting from the bottom of the list constructed above.


Exponent (adjusted) =


1212(10) =


100 1011 1100(2)


8. Normalize the mantissa.

a) Remove the leading (the leftmost) bit, since it's allways 1, and the decimal point, if the case.


b) Adjust its length to 52 bits, by removing the excess bits, from the right (if any of the excess bits is set on 1, we are losing precision...).


Mantissa (normalized) =


1. 0100 0110 0100 0011 1110 0101 1010 1110 0100 0100 1101 0001 0010 1 0111 0001 1110 1011 1111 1101 1100 1011 0101 0100 1000 0110 0100 1010 1101 1010 1000 0011 0100 1010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0110 0110 =


0100 0110 0100 0011 1110 0101 1010 1110 0100 0100 1101 0001 0010


9. The three elements that make up the number's 64 bit double precision IEEE 754 binary floating point representation:

Sign (1 bit) =
0 (a positive number)


Exponent (11 bits) =
100 1011 1100


Mantissa (52 bits) =
0100 0110 0100 0011 1110 0101 1010 1110 0100 0100 1101 0001 0010


Decimal number 1 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 358 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 100 1011 1100 - 0100 0110 0100 0011 1110 0101 1010 1110 0100 0100 1101 0001 0010


How to convert numbers from the decimal system (base ten) to 64 bit double precision IEEE 754 binary floating point standard

Follow the steps below to convert a base 10 decimal number to 64 bit double precision IEEE 754 binary floating point:

  • 1. If the number to be converted is negative, start with its the positive version.
  • 2. First convert the integer part. Divide repeatedly by 2 the positive representation of the integer number that is to be converted to binary, until we get a quotient that is equal to zero, keeping track of each remainder.
  • 3. Construct the base 2 representation of the positive integer part of the number, by taking all the remainders from the previous operations, starting from the bottom of the list constructed above. Thus, the last remainder of the divisions becomes the first symbol (the leftmost) of the base two number, while the first remainder becomes the last symbol (the rightmost).
  • 4. Then convert the fractional part. Multiply the number repeatedly by 2, until we get a fractional part that is equal to zero, keeping track of each integer part of the results.
  • 5. Construct the base 2 representation of the fractional part of the number, by taking all the integer parts of the multiplying operations, starting from the top of the list constructed above (they should appear in the binary representation, from left to right, in the order they have been calculated).
  • 6. Normalize the binary representation of the number, shifting the decimal mark (the decimal point) "n" positions either to the left, or to the right, so that only one non zero digit remains to the left of the decimal mark.
  • 7. Adjust the exponent in 11 bit excess/bias notation and then convert it from decimal (base 10) to 11 bit binary, by using the same technique of repeatedly dividing by 2, as shown above:
    Exponent (adjusted) = Exponent (unadjusted) + 2(11-1) - 1
  • 8. Normalize mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal mark, if the case) and adjust its length to 52 bits, either by removing the excess bits from the right (losing precision...) or by adding extra bits set on '0' to the right.
  • 9. Sign (it takes 1 bit) is either 1 for a negative or 0 for a positive number.

Example: convert the negative number -31.640 215 from the decimal system (base ten) to 64 bit double precision IEEE 754 binary floating point:

  • 1. Start with the positive version of the number:

    |-31.640 215| = 31.640 215

  • 2. First convert the integer part, 31. Divide it repeatedly by 2, keeping track of each remainder, until we get a quotient that is equal to zero:
    • division = quotient + remainder;
    • 31 ÷ 2 = 15 + 1;
    • 15 ÷ 2 = 7 + 1;
    • 7 ÷ 2 = 3 + 1;
    • 3 ÷ 2 = 1 + 1;
    • 1 ÷ 2 = 0 + 1;
    • We have encountered a quotient that is ZERO => FULL STOP
  • 3. Construct the base 2 representation of the integer part of the number by taking all the remainders of the previous dividing operations, starting from the bottom of the list constructed above:

    31(10) = 1 1111(2)

  • 4. Then, convert the fractional part, 0.640 215. Multiply repeatedly by 2, keeping track of each integer part of the results, until we get a fractional part that is equal to zero:
    • #) multiplying = integer + fractional part;
    • 1) 0.640 215 × 2 = 1 + 0.280 43;
    • 2) 0.280 43 × 2 = 0 + 0.560 86;
    • 3) 0.560 86 × 2 = 1 + 0.121 72;
    • 4) 0.121 72 × 2 = 0 + 0.243 44;
    • 5) 0.243 44 × 2 = 0 + 0.486 88;
    • 6) 0.486 88 × 2 = 0 + 0.973 76;
    • 7) 0.973 76 × 2 = 1 + 0.947 52;
    • 8) 0.947 52 × 2 = 1 + 0.895 04;
    • 9) 0.895 04 × 2 = 1 + 0.790 08;
    • 10) 0.790 08 × 2 = 1 + 0.580 16;
    • 11) 0.580 16 × 2 = 1 + 0.160 32;
    • 12) 0.160 32 × 2 = 0 + 0.320 64;
    • 13) 0.320 64 × 2 = 0 + 0.641 28;
    • 14) 0.641 28 × 2 = 1 + 0.282 56;
    • 15) 0.282 56 × 2 = 0 + 0.565 12;
    • 16) 0.565 12 × 2 = 1 + 0.130 24;
    • 17) 0.130 24 × 2 = 0 + 0.260 48;
    • 18) 0.260 48 × 2 = 0 + 0.520 96;
    • 19) 0.520 96 × 2 = 1 + 0.041 92;
    • 20) 0.041 92 × 2 = 0 + 0.083 84;
    • 21) 0.083 84 × 2 = 0 + 0.167 68;
    • 22) 0.167 68 × 2 = 0 + 0.335 36;
    • 23) 0.335 36 × 2 = 0 + 0.670 72;
    • 24) 0.670 72 × 2 = 1 + 0.341 44;
    • 25) 0.341 44 × 2 = 0 + 0.682 88;
    • 26) 0.682 88 × 2 = 1 + 0.365 76;
    • 27) 0.365 76 × 2 = 0 + 0.731 52;
    • 28) 0.731 52 × 2 = 1 + 0.463 04;
    • 29) 0.463 04 × 2 = 0 + 0.926 08;
    • 30) 0.926 08 × 2 = 1 + 0.852 16;
    • 31) 0.852 16 × 2 = 1 + 0.704 32;
    • 32) 0.704 32 × 2 = 1 + 0.408 64;
    • 33) 0.408 64 × 2 = 0 + 0.817 28;
    • 34) 0.817 28 × 2 = 1 + 0.634 56;
    • 35) 0.634 56 × 2 = 1 + 0.269 12;
    • 36) 0.269 12 × 2 = 0 + 0.538 24;
    • 37) 0.538 24 × 2 = 1 + 0.076 48;
    • 38) 0.076 48 × 2 = 0 + 0.152 96;
    • 39) 0.152 96 × 2 = 0 + 0.305 92;
    • 40) 0.305 92 × 2 = 0 + 0.611 84;
    • 41) 0.611 84 × 2 = 1 + 0.223 68;
    • 42) 0.223 68 × 2 = 0 + 0.447 36;
    • 43) 0.447 36 × 2 = 0 + 0.894 72;
    • 44) 0.894 72 × 2 = 1 + 0.789 44;
    • 45) 0.789 44 × 2 = 1 + 0.578 88;
    • 46) 0.578 88 × 2 = 1 + 0.157 76;
    • 47) 0.157 76 × 2 = 0 + 0.315 52;
    • 48) 0.315 52 × 2 = 0 + 0.631 04;
    • 49) 0.631 04 × 2 = 1 + 0.262 08;
    • 50) 0.262 08 × 2 = 0 + 0.524 16;
    • 51) 0.524 16 × 2 = 1 + 0.048 32;
    • 52) 0.048 32 × 2 = 0 + 0.096 64;
    • 53) 0.096 64 × 2 = 0 + 0.193 28;
    • We didn't get any fractional part that was equal to zero. But we had enough iterations (over Mantissa limit = 52) and at least one integer part that was different from zero => FULL STOP (losing precision...).
  • 5. Construct the base 2 representation of the fractional part of the number, by taking all the integer parts of the previous multiplying operations, starting from the top of the constructed list above:

    0.640 215(10) = 0.1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0(2)

  • 6. Summarizing - the positive number before normalization:

    31.640 215(10) = 1 1111.1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0(2)

  • 7. Normalize the binary representation of the number, shifting the decimal mark 4 positions to the left so that only one non-zero digit stays to the left of the decimal mark:

    31.640 215(10) =
    1 1111.1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0(2) =
    1 1111.1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0(2) × 20 =
    1.1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0(2) × 24

  • 8. Up to this moment, there are the following elements that would feed into the 64 bit double precision IEEE 754 binary floating point representation:

    Sign: 1 (a negative number)

    Exponent (unadjusted): 4

    Mantissa (not-normalized): 1.1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0

  • 9. Adjust the exponent in 11 bit excess/bias notation and then convert it from decimal (base 10) to 11 bit binary (base 2), by using the same technique of repeatedly dividing it by 2, as shown above:

    Exponent (adjusted) = Exponent (unadjusted) + 2(11-1) - 1 = (4 + 1023)(10) = 1027(10) =
    100 0000 0011(2)

  • 10. Normalize mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal sign) and adjust its length to 52 bits, by removing the excess bits, from the right (losing precision...):

    Mantissa (not-normalized): 1.1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0

    Mantissa (normalized): 1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100

  • Conclusion:

    Sign (1 bit) = 1 (a negative number)

    Exponent (8 bits) = 100 0000 0011

    Mantissa (52 bits) = 1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100

  • Number -31.640 215, converted from decimal system (base 10) to 64 bit double precision IEEE 754 binary floating point =
    1 - 100 0000 0011 - 1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100