100 000 001 110 011 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 959 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 100 000 001 110 011 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 959(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
100 000 001 110 011 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 959(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;
  • 100 000 001 110 011 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 959 ÷ 2 = 50 000 000 555 005 555 549 999 999 999 999 999 999 999 999 999 999 999 999 999 979 + 1;
  • 50 000 000 555 005 555 549 999 999 999 999 999 999 999 999 999 999 999 999 999 979 ÷ 2 = 25 000 000 277 502 777 774 999 999 999 999 999 999 999 999 999 999 999 999 999 989 + 1;
  • 25 000 000 277 502 777 774 999 999 999 999 999 999 999 999 999 999 999 999 999 989 ÷ 2 = 12 500 000 138 751 388 887 499 999 999 999 999 999 999 999 999 999 999 999 999 994 + 1;
  • 12 500 000 138 751 388 887 499 999 999 999 999 999 999 999 999 999 999 999 999 994 ÷ 2 = 6 250 000 069 375 694 443 749 999 999 999 999 999 999 999 999 999 999 999 999 997 + 0;
  • 6 250 000 069 375 694 443 749 999 999 999 999 999 999 999 999 999 999 999 999 997 ÷ 2 = 3 125 000 034 687 847 221 874 999 999 999 999 999 999 999 999 999 999 999 999 998 + 1;
  • 3 125 000 034 687 847 221 874 999 999 999 999 999 999 999 999 999 999 999 999 998 ÷ 2 = 1 562 500 017 343 923 610 937 499 999 999 999 999 999 999 999 999 999 999 999 999 + 0;
  • 1 562 500 017 343 923 610 937 499 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 781 250 008 671 961 805 468 749 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 781 250 008 671 961 805 468 749 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 390 625 004 335 980 902 734 374 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 390 625 004 335 980 902 734 374 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 195 312 502 167 990 451 367 187 499 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 195 312 502 167 990 451 367 187 499 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 97 656 251 083 995 225 683 593 749 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 97 656 251 083 995 225 683 593 749 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 48 828 125 541 997 612 841 796 874 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 48 828 125 541 997 612 841 796 874 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 24 414 062 770 998 806 420 898 437 499 999 999 999 999 999 999 999 999 999 999 + 1;
  • 24 414 062 770 998 806 420 898 437 499 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 12 207 031 385 499 403 210 449 218 749 999 999 999 999 999 999 999 999 999 999 + 1;
  • 12 207 031 385 499 403 210 449 218 749 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 6 103 515 692 749 701 605 224 609 374 999 999 999 999 999 999 999 999 999 999 + 1;
  • 6 103 515 692 749 701 605 224 609 374 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 3 051 757 846 374 850 802 612 304 687 499 999 999 999 999 999 999 999 999 999 + 1;
  • 3 051 757 846 374 850 802 612 304 687 499 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 525 878 923 187 425 401 306 152 343 749 999 999 999 999 999 999 999 999 999 + 1;
  • 1 525 878 923 187 425 401 306 152 343 749 999 999 999 999 999 999 999 999 999 ÷ 2 = 762 939 461 593 712 700 653 076 171 874 999 999 999 999 999 999 999 999 999 + 1;
  • 762 939 461 593 712 700 653 076 171 874 999 999 999 999 999 999 999 999 999 ÷ 2 = 381 469 730 796 856 350 326 538 085 937 499 999 999 999 999 999 999 999 999 + 1;
  • 381 469 730 796 856 350 326 538 085 937 499 999 999 999 999 999 999 999 999 ÷ 2 = 190 734 865 398 428 175 163 269 042 968 749 999 999 999 999 999 999 999 999 + 1;
  • 190 734 865 398 428 175 163 269 042 968 749 999 999 999 999 999 999 999 999 ÷ 2 = 95 367 432 699 214 087 581 634 521 484 374 999 999 999 999 999 999 999 999 + 1;
  • 95 367 432 699 214 087 581 634 521 484 374 999 999 999 999 999 999 999 999 ÷ 2 = 47 683 716 349 607 043 790 817 260 742 187 499 999 999 999 999 999 999 999 + 1;
  • 47 683 716 349 607 043 790 817 260 742 187 499 999 999 999 999 999 999 999 ÷ 2 = 23 841 858 174 803 521 895 408 630 371 093 749 999 999 999 999 999 999 999 + 1;
  • 23 841 858 174 803 521 895 408 630 371 093 749 999 999 999 999 999 999 999 ÷ 2 = 11 920 929 087 401 760 947 704 315 185 546 874 999 999 999 999 999 999 999 + 1;
  • 11 920 929 087 401 760 947 704 315 185 546 874 999 999 999 999 999 999 999 ÷ 2 = 5 960 464 543 700 880 473 852 157 592 773 437 499 999 999 999 999 999 999 + 1;
  • 5 960 464 543 700 880 473 852 157 592 773 437 499 999 999 999 999 999 999 ÷ 2 = 2 980 232 271 850 440 236 926 078 796 386 718 749 999 999 999 999 999 999 + 1;
  • 2 980 232 271 850 440 236 926 078 796 386 718 749 999 999 999 999 999 999 ÷ 2 = 1 490 116 135 925 220 118 463 039 398 193 359 374 999 999 999 999 999 999 + 1;
  • 1 490 116 135 925 220 118 463 039 398 193 359 374 999 999 999 999 999 999 ÷ 2 = 745 058 067 962 610 059 231 519 699 096 679 687 499 999 999 999 999 999 + 1;
  • 745 058 067 962 610 059 231 519 699 096 679 687 499 999 999 999 999 999 ÷ 2 = 372 529 033 981 305 029 615 759 849 548 339 843 749 999 999 999 999 999 + 1;
  • 372 529 033 981 305 029 615 759 849 548 339 843 749 999 999 999 999 999 ÷ 2 = 186 264 516 990 652 514 807 879 924 774 169 921 874 999 999 999 999 999 + 1;
  • 186 264 516 990 652 514 807 879 924 774 169 921 874 999 999 999 999 999 ÷ 2 = 93 132 258 495 326 257 403 939 962 387 084 960 937 499 999 999 999 999 + 1;
  • 93 132 258 495 326 257 403 939 962 387 084 960 937 499 999 999 999 999 ÷ 2 = 46 566 129 247 663 128 701 969 981 193 542 480 468 749 999 999 999 999 + 1;
  • 46 566 129 247 663 128 701 969 981 193 542 480 468 749 999 999 999 999 ÷ 2 = 23 283 064 623 831 564 350 984 990 596 771 240 234 374 999 999 999 999 + 1;
  • 23 283 064 623 831 564 350 984 990 596 771 240 234 374 999 999 999 999 ÷ 2 = 11 641 532 311 915 782 175 492 495 298 385 620 117 187 499 999 999 999 + 1;
  • 11 641 532 311 915 782 175 492 495 298 385 620 117 187 499 999 999 999 ÷ 2 = 5 820 766 155 957 891 087 746 247 649 192 810 058 593 749 999 999 999 + 1;
  • 5 820 766 155 957 891 087 746 247 649 192 810 058 593 749 999 999 999 ÷ 2 = 2 910 383 077 978 945 543 873 123 824 596 405 029 296 874 999 999 999 + 1;
  • 2 910 383 077 978 945 543 873 123 824 596 405 029 296 874 999 999 999 ÷ 2 = 1 455 191 538 989 472 771 936 561 912 298 202 514 648 437 499 999 999 + 1;
  • 1 455 191 538 989 472 771 936 561 912 298 202 514 648 437 499 999 999 ÷ 2 = 727 595 769 494 736 385 968 280 956 149 101 257 324 218 749 999 999 + 1;
  • 727 595 769 494 736 385 968 280 956 149 101 257 324 218 749 999 999 ÷ 2 = 363 797 884 747 368 192 984 140 478 074 550 628 662 109 374 999 999 + 1;
  • 363 797 884 747 368 192 984 140 478 074 550 628 662 109 374 999 999 ÷ 2 = 181 898 942 373 684 096 492 070 239 037 275 314 331 054 687 499 999 + 1;
  • 181 898 942 373 684 096 492 070 239 037 275 314 331 054 687 499 999 ÷ 2 = 90 949 471 186 842 048 246 035 119 518 637 657 165 527 343 749 999 + 1;
  • 90 949 471 186 842 048 246 035 119 518 637 657 165 527 343 749 999 ÷ 2 = 45 474 735 593 421 024 123 017 559 759 318 828 582 763 671 874 999 + 1;
  • 45 474 735 593 421 024 123 017 559 759 318 828 582 763 671 874 999 ÷ 2 = 22 737 367 796 710 512 061 508 779 879 659 414 291 381 835 937 499 + 1;
  • 22 737 367 796 710 512 061 508 779 879 659 414 291 381 835 937 499 ÷ 2 = 11 368 683 898 355 256 030 754 389 939 829 707 145 690 917 968 749 + 1;
  • 11 368 683 898 355 256 030 754 389 939 829 707 145 690 917 968 749 ÷ 2 = 5 684 341 949 177 628 015 377 194 969 914 853 572 845 458 984 374 + 1;
  • 5 684 341 949 177 628 015 377 194 969 914 853 572 845 458 984 374 ÷ 2 = 2 842 170 974 588 814 007 688 597 484 957 426 786 422 729 492 187 + 0;
  • 2 842 170 974 588 814 007 688 597 484 957 426 786 422 729 492 187 ÷ 2 = 1 421 085 487 294 407 003 844 298 742 478 713 393 211 364 746 093 + 1;
  • 1 421 085 487 294 407 003 844 298 742 478 713 393 211 364 746 093 ÷ 2 = 710 542 743 647 203 501 922 149 371 239 356 696 605 682 373 046 + 1;
  • 710 542 743 647 203 501 922 149 371 239 356 696 605 682 373 046 ÷ 2 = 355 271 371 823 601 750 961 074 685 619 678 348 302 841 186 523 + 0;
  • 355 271 371 823 601 750 961 074 685 619 678 348 302 841 186 523 ÷ 2 = 177 635 685 911 800 875 480 537 342 809 839 174 151 420 593 261 + 1;
  • 177 635 685 911 800 875 480 537 342 809 839 174 151 420 593 261 ÷ 2 = 88 817 842 955 900 437 740 268 671 404 919 587 075 710 296 630 + 1;
  • 88 817 842 955 900 437 740 268 671 404 919 587 075 710 296 630 ÷ 2 = 44 408 921 477 950 218 870 134 335 702 459 793 537 855 148 315 + 0;
  • 44 408 921 477 950 218 870 134 335 702 459 793 537 855 148 315 ÷ 2 = 22 204 460 738 975 109 435 067 167 851 229 896 768 927 574 157 + 1;
  • 22 204 460 738 975 109 435 067 167 851 229 896 768 927 574 157 ÷ 2 = 11 102 230 369 487 554 717 533 583 925 614 948 384 463 787 078 + 1;
  • 11 102 230 369 487 554 717 533 583 925 614 948 384 463 787 078 ÷ 2 = 5 551 115 184 743 777 358 766 791 962 807 474 192 231 893 539 + 0;
  • 5 551 115 184 743 777 358 766 791 962 807 474 192 231 893 539 ÷ 2 = 2 775 557 592 371 888 679 383 395 981 403 737 096 115 946 769 + 1;
  • 2 775 557 592 371 888 679 383 395 981 403 737 096 115 946 769 ÷ 2 = 1 387 778 796 185 944 339 691 697 990 701 868 548 057 973 384 + 1;
  • 1 387 778 796 185 944 339 691 697 990 701 868 548 057 973 384 ÷ 2 = 693 889 398 092 972 169 845 848 995 350 934 274 028 986 692 + 0;
  • 693 889 398 092 972 169 845 848 995 350 934 274 028 986 692 ÷ 2 = 346 944 699 046 486 084 922 924 497 675 467 137 014 493 346 + 0;
  • 346 944 699 046 486 084 922 924 497 675 467 137 014 493 346 ÷ 2 = 173 472 349 523 243 042 461 462 248 837 733 568 507 246 673 + 0;
  • 173 472 349 523 243 042 461 462 248 837 733 568 507 246 673 ÷ 2 = 86 736 174 761 621 521 230 731 124 418 866 784 253 623 336 + 1;
  • 86 736 174 761 621 521 230 731 124 418 866 784 253 623 336 ÷ 2 = 43 368 087 380 810 760 615 365 562 209 433 392 126 811 668 + 0;
  • 43 368 087 380 810 760 615 365 562 209 433 392 126 811 668 ÷ 2 = 21 684 043 690 405 380 307 682 781 104 716 696 063 405 834 + 0;
  • 21 684 043 690 405 380 307 682 781 104 716 696 063 405 834 ÷ 2 = 10 842 021 845 202 690 153 841 390 552 358 348 031 702 917 + 0;
  • 10 842 021 845 202 690 153 841 390 552 358 348 031 702 917 ÷ 2 = 5 421 010 922 601 345 076 920 695 276 179 174 015 851 458 + 1;
  • 5 421 010 922 601 345 076 920 695 276 179 174 015 851 458 ÷ 2 = 2 710 505 461 300 672 538 460 347 638 089 587 007 925 729 + 0;
  • 2 710 505 461 300 672 538 460 347 638 089 587 007 925 729 ÷ 2 = 1 355 252 730 650 336 269 230 173 819 044 793 503 962 864 + 1;
  • 1 355 252 730 650 336 269 230 173 819 044 793 503 962 864 ÷ 2 = 677 626 365 325 168 134 615 086 909 522 396 751 981 432 + 0;
  • 677 626 365 325 168 134 615 086 909 522 396 751 981 432 ÷ 2 = 338 813 182 662 584 067 307 543 454 761 198 375 990 716 + 0;
  • 338 813 182 662 584 067 307 543 454 761 198 375 990 716 ÷ 2 = 169 406 591 331 292 033 653 771 727 380 599 187 995 358 + 0;
  • 169 406 591 331 292 033 653 771 727 380 599 187 995 358 ÷ 2 = 84 703 295 665 646 016 826 885 863 690 299 593 997 679 + 0;
  • 84 703 295 665 646 016 826 885 863 690 299 593 997 679 ÷ 2 = 42 351 647 832 823 008 413 442 931 845 149 796 998 839 + 1;
  • 42 351 647 832 823 008 413 442 931 845 149 796 998 839 ÷ 2 = 21 175 823 916 411 504 206 721 465 922 574 898 499 419 + 1;
  • 21 175 823 916 411 504 206 721 465 922 574 898 499 419 ÷ 2 = 10 587 911 958 205 752 103 360 732 961 287 449 249 709 + 1;
  • 10 587 911 958 205 752 103 360 732 961 287 449 249 709 ÷ 2 = 5 293 955 979 102 876 051 680 366 480 643 724 624 854 + 1;
  • 5 293 955 979 102 876 051 680 366 480 643 724 624 854 ÷ 2 = 2 646 977 989 551 438 025 840 183 240 321 862 312 427 + 0;
  • 2 646 977 989 551 438 025 840 183 240 321 862 312 427 ÷ 2 = 1 323 488 994 775 719 012 920 091 620 160 931 156 213 + 1;
  • 1 323 488 994 775 719 012 920 091 620 160 931 156 213 ÷ 2 = 661 744 497 387 859 506 460 045 810 080 465 578 106 + 1;
  • 661 744 497 387 859 506 460 045 810 080 465 578 106 ÷ 2 = 330 872 248 693 929 753 230 022 905 040 232 789 053 + 0;
  • 330 872 248 693 929 753 230 022 905 040 232 789 053 ÷ 2 = 165 436 124 346 964 876 615 011 452 520 116 394 526 + 1;
  • 165 436 124 346 964 876 615 011 452 520 116 394 526 ÷ 2 = 82 718 062 173 482 438 307 505 726 260 058 197 263 + 0;
  • 82 718 062 173 482 438 307 505 726 260 058 197 263 ÷ 2 = 41 359 031 086 741 219 153 752 863 130 029 098 631 + 1;
  • 41 359 031 086 741 219 153 752 863 130 029 098 631 ÷ 2 = 20 679 515 543 370 609 576 876 431 565 014 549 315 + 1;
  • 20 679 515 543 370 609 576 876 431 565 014 549 315 ÷ 2 = 10 339 757 771 685 304 788 438 215 782 507 274 657 + 1;
  • 10 339 757 771 685 304 788 438 215 782 507 274 657 ÷ 2 = 5 169 878 885 842 652 394 219 107 891 253 637 328 + 1;
  • 5 169 878 885 842 652 394 219 107 891 253 637 328 ÷ 2 = 2 584 939 442 921 326 197 109 553 945 626 818 664 + 0;
  • 2 584 939 442 921 326 197 109 553 945 626 818 664 ÷ 2 = 1 292 469 721 460 663 098 554 776 972 813 409 332 + 0;
  • 1 292 469 721 460 663 098 554 776 972 813 409 332 ÷ 2 = 646 234 860 730 331 549 277 388 486 406 704 666 + 0;
  • 646 234 860 730 331 549 277 388 486 406 704 666 ÷ 2 = 323 117 430 365 165 774 638 694 243 203 352 333 + 0;
  • 323 117 430 365 165 774 638 694 243 203 352 333 ÷ 2 = 161 558 715 182 582 887 319 347 121 601 676 166 + 1;
  • 161 558 715 182 582 887 319 347 121 601 676 166 ÷ 2 = 80 779 357 591 291 443 659 673 560 800 838 083 + 0;
  • 80 779 357 591 291 443 659 673 560 800 838 083 ÷ 2 = 40 389 678 795 645 721 829 836 780 400 419 041 + 1;
  • 40 389 678 795 645 721 829 836 780 400 419 041 ÷ 2 = 20 194 839 397 822 860 914 918 390 200 209 520 + 1;
  • 20 194 839 397 822 860 914 918 390 200 209 520 ÷ 2 = 10 097 419 698 911 430 457 459 195 100 104 760 + 0;
  • 10 097 419 698 911 430 457 459 195 100 104 760 ÷ 2 = 5 048 709 849 455 715 228 729 597 550 052 380 + 0;
  • 5 048 709 849 455 715 228 729 597 550 052 380 ÷ 2 = 2 524 354 924 727 857 614 364 798 775 026 190 + 0;
  • 2 524 354 924 727 857 614 364 798 775 026 190 ÷ 2 = 1 262 177 462 363 928 807 182 399 387 513 095 + 0;
  • 1 262 177 462 363 928 807 182 399 387 513 095 ÷ 2 = 631 088 731 181 964 403 591 199 693 756 547 + 1;
  • 631 088 731 181 964 403 591 199 693 756 547 ÷ 2 = 315 544 365 590 982 201 795 599 846 878 273 + 1;
  • 315 544 365 590 982 201 795 599 846 878 273 ÷ 2 = 157 772 182 795 491 100 897 799 923 439 136 + 1;
  • 157 772 182 795 491 100 897 799 923 439 136 ÷ 2 = 78 886 091 397 745 550 448 899 961 719 568 + 0;
  • 78 886 091 397 745 550 448 899 961 719 568 ÷ 2 = 39 443 045 698 872 775 224 449 980 859 784 + 0;
  • 39 443 045 698 872 775 224 449 980 859 784 ÷ 2 = 19 721 522 849 436 387 612 224 990 429 892 + 0;
  • 19 721 522 849 436 387 612 224 990 429 892 ÷ 2 = 9 860 761 424 718 193 806 112 495 214 946 + 0;
  • 9 860 761 424 718 193 806 112 495 214 946 ÷ 2 = 4 930 380 712 359 096 903 056 247 607 473 + 0;
  • 4 930 380 712 359 096 903 056 247 607 473 ÷ 2 = 2 465 190 356 179 548 451 528 123 803 736 + 1;
  • 2 465 190 356 179 548 451 528 123 803 736 ÷ 2 = 1 232 595 178 089 774 225 764 061 901 868 + 0;
  • 1 232 595 178 089 774 225 764 061 901 868 ÷ 2 = 616 297 589 044 887 112 882 030 950 934 + 0;
  • 616 297 589 044 887 112 882 030 950 934 ÷ 2 = 308 148 794 522 443 556 441 015 475 467 + 0;
  • 308 148 794 522 443 556 441 015 475 467 ÷ 2 = 154 074 397 261 221 778 220 507 737 733 + 1;
  • 154 074 397 261 221 778 220 507 737 733 ÷ 2 = 77 037 198 630 610 889 110 253 868 866 + 1;
  • 77 037 198 630 610 889 110 253 868 866 ÷ 2 = 38 518 599 315 305 444 555 126 934 433 + 0;
  • 38 518 599 315 305 444 555 126 934 433 ÷ 2 = 19 259 299 657 652 722 277 563 467 216 + 1;
  • 19 259 299 657 652 722 277 563 467 216 ÷ 2 = 9 629 649 828 826 361 138 781 733 608 + 0;
  • 9 629 649 828 826 361 138 781 733 608 ÷ 2 = 4 814 824 914 413 180 569 390 866 804 + 0;
  • 4 814 824 914 413 180 569 390 866 804 ÷ 2 = 2 407 412 457 206 590 284 695 433 402 + 0;
  • 2 407 412 457 206 590 284 695 433 402 ÷ 2 = 1 203 706 228 603 295 142 347 716 701 + 0;
  • 1 203 706 228 603 295 142 347 716 701 ÷ 2 = 601 853 114 301 647 571 173 858 350 + 1;
  • 601 853 114 301 647 571 173 858 350 ÷ 2 = 300 926 557 150 823 785 586 929 175 + 0;
  • 300 926 557 150 823 785 586 929 175 ÷ 2 = 150 463 278 575 411 892 793 464 587 + 1;
  • 150 463 278 575 411 892 793 464 587 ÷ 2 = 75 231 639 287 705 946 396 732 293 + 1;
  • 75 231 639 287 705 946 396 732 293 ÷ 2 = 37 615 819 643 852 973 198 366 146 + 1;
  • 37 615 819 643 852 973 198 366 146 ÷ 2 = 18 807 909 821 926 486 599 183 073 + 0;
  • 18 807 909 821 926 486 599 183 073 ÷ 2 = 9 403 954 910 963 243 299 591 536 + 1;
  • 9 403 954 910 963 243 299 591 536 ÷ 2 = 4 701 977 455 481 621 649 795 768 + 0;
  • 4 701 977 455 481 621 649 795 768 ÷ 2 = 2 350 988 727 740 810 824 897 884 + 0;
  • 2 350 988 727 740 810 824 897 884 ÷ 2 = 1 175 494 363 870 405 412 448 942 + 0;
  • 1 175 494 363 870 405 412 448 942 ÷ 2 = 587 747 181 935 202 706 224 471 + 0;
  • 587 747 181 935 202 706 224 471 ÷ 2 = 293 873 590 967 601 353 112 235 + 1;
  • 293 873 590 967 601 353 112 235 ÷ 2 = 146 936 795 483 800 676 556 117 + 1;
  • 146 936 795 483 800 676 556 117 ÷ 2 = 73 468 397 741 900 338 278 058 + 1;
  • 73 468 397 741 900 338 278 058 ÷ 2 = 36 734 198 870 950 169 139 029 + 0;
  • 36 734 198 870 950 169 139 029 ÷ 2 = 18 367 099 435 475 084 569 514 + 1;
  • 18 367 099 435 475 084 569 514 ÷ 2 = 9 183 549 717 737 542 284 757 + 0;
  • 9 183 549 717 737 542 284 757 ÷ 2 = 4 591 774 858 868 771 142 378 + 1;
  • 4 591 774 858 868 771 142 378 ÷ 2 = 2 295 887 429 434 385 571 189 + 0;
  • 2 295 887 429 434 385 571 189 ÷ 2 = 1 147 943 714 717 192 785 594 + 1;
  • 1 147 943 714 717 192 785 594 ÷ 2 = 573 971 857 358 596 392 797 + 0;
  • 573 971 857 358 596 392 797 ÷ 2 = 286 985 928 679 298 196 398 + 1;
  • 286 985 928 679 298 196 398 ÷ 2 = 143 492 964 339 649 098 199 + 0;
  • 143 492 964 339 649 098 199 ÷ 2 = 71 746 482 169 824 549 099 + 1;
  • 71 746 482 169 824 549 099 ÷ 2 = 35 873 241 084 912 274 549 + 1;
  • 35 873 241 084 912 274 549 ÷ 2 = 17 936 620 542 456 137 274 + 1;
  • 17 936 620 542 456 137 274 ÷ 2 = 8 968 310 271 228 068 637 + 0;
  • 8 968 310 271 228 068 637 ÷ 2 = 4 484 155 135 614 034 318 + 1;
  • 4 484 155 135 614 034 318 ÷ 2 = 2 242 077 567 807 017 159 + 0;
  • 2 242 077 567 807 017 159 ÷ 2 = 1 121 038 783 903 508 579 + 1;
  • 1 121 038 783 903 508 579 ÷ 2 = 560 519 391 951 754 289 + 1;
  • 560 519 391 951 754 289 ÷ 2 = 280 259 695 975 877 144 + 1;
  • 280 259 695 975 877 144 ÷ 2 = 140 129 847 987 938 572 + 0;
  • 140 129 847 987 938 572 ÷ 2 = 70 064 923 993 969 286 + 0;
  • 70 064 923 993 969 286 ÷ 2 = 35 032 461 996 984 643 + 0;
  • 35 032 461 996 984 643 ÷ 2 = 17 516 230 998 492 321 + 1;
  • 17 516 230 998 492 321 ÷ 2 = 8 758 115 499 246 160 + 1;
  • 8 758 115 499 246 160 ÷ 2 = 4 379 057 749 623 080 + 0;
  • 4 379 057 749 623 080 ÷ 2 = 2 189 528 874 811 540 + 0;
  • 2 189 528 874 811 540 ÷ 2 = 1 094 764 437 405 770 + 0;
  • 1 094 764 437 405 770 ÷ 2 = 547 382 218 702 885 + 0;
  • 547 382 218 702 885 ÷ 2 = 273 691 109 351 442 + 1;
  • 273 691 109 351 442 ÷ 2 = 136 845 554 675 721 + 0;
  • 136 845 554 675 721 ÷ 2 = 68 422 777 337 860 + 1;
  • 68 422 777 337 860 ÷ 2 = 34 211 388 668 930 + 0;
  • 34 211 388 668 930 ÷ 2 = 17 105 694 334 465 + 0;
  • 17 105 694 334 465 ÷ 2 = 8 552 847 167 232 + 1;
  • 8 552 847 167 232 ÷ 2 = 4 276 423 583 616 + 0;
  • 4 276 423 583 616 ÷ 2 = 2 138 211 791 808 + 0;
  • 2 138 211 791 808 ÷ 2 = 1 069 105 895 904 + 0;
  • 1 069 105 895 904 ÷ 2 = 534 552 947 952 + 0;
  • 534 552 947 952 ÷ 2 = 267 276 473 976 + 0;
  • 267 276 473 976 ÷ 2 = 133 638 236 988 + 0;
  • 133 638 236 988 ÷ 2 = 66 819 118 494 + 0;
  • 66 819 118 494 ÷ 2 = 33 409 559 247 + 0;
  • 33 409 559 247 ÷ 2 = 16 704 779 623 + 1;
  • 16 704 779 623 ÷ 2 = 8 352 389 811 + 1;
  • 8 352 389 811 ÷ 2 = 4 176 194 905 + 1;
  • 4 176 194 905 ÷ 2 = 2 088 097 452 + 1;
  • 2 088 097 452 ÷ 2 = 1 044 048 726 + 0;
  • 1 044 048 726 ÷ 2 = 522 024 363 + 0;
  • 522 024 363 ÷ 2 = 261 012 181 + 1;
  • 261 012 181 ÷ 2 = 130 506 090 + 1;
  • 130 506 090 ÷ 2 = 65 253 045 + 0;
  • 65 253 045 ÷ 2 = 32 626 522 + 1;
  • 32 626 522 ÷ 2 = 16 313 261 + 0;
  • 16 313 261 ÷ 2 = 8 156 630 + 1;
  • 8 156 630 ÷ 2 = 4 078 315 + 0;
  • 4 078 315 ÷ 2 = 2 039 157 + 1;
  • 2 039 157 ÷ 2 = 1 019 578 + 1;
  • 1 019 578 ÷ 2 = 509 789 + 0;
  • 509 789 ÷ 2 = 254 894 + 1;
  • 254 894 ÷ 2 = 127 447 + 0;
  • 127 447 ÷ 2 = 63 723 + 1;
  • 63 723 ÷ 2 = 31 861 + 1;
  • 31 861 ÷ 2 = 15 930 + 1;
  • 15 930 ÷ 2 = 7 965 + 0;
  • 7 965 ÷ 2 = 3 982 + 1;
  • 3 982 ÷ 2 = 1 991 + 0;
  • 1 991 ÷ 2 = 995 + 1;
  • 995 ÷ 2 = 497 + 1;
  • 497 ÷ 2 = 248 + 1;
  • 248 ÷ 2 = 124 + 0;
  • 124 ÷ 2 = 62 + 0;
  • 62 ÷ 2 = 31 + 0;
  • 31 ÷ 2 = 15 + 1;
  • 15 ÷ 2 = 7 + 1;
  • 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.

100 000 001 110 011 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 959(10) =


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


3. Normalize the binary representation of the number.

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


100 000 001 110 011 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 959(10) =


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


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


1.1111 0001 1101 0111 0101 1010 1011 0011 1100 0000 0010 0101 0000 1100 0111 0101 1101 0101 0101 1100 0010 1110 1000 0101 1000 1000 0011 1000 0110 1000 0111 1010 1101 1110 0001 0100 0100 0110 1101 1011 0111 1111 1111 1111 1111 1111 1111 1111 1111 1110 1011 1(2) × 2205


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): 205


Mantissa (not normalized):
1.1111 0001 1101 0111 0101 1010 1011 0011 1100 0000 0010 0101 0000 1100 0111 0101 1101 0101 0101 1100 0010 1110 1000 0101 1000 1000 0011 1000 0110 1000 0111 1010 1101 1110 0001 0100 0100 0110 1101 1011 0111 1111 1111 1111 1111 1111 1111 1111 1111 1110 1011 1


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


205 + 2(11-1) - 1 =


(205 + 1 023)(10) =


1 228(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 228 ÷ 2 = 614 + 0;
  • 614 ÷ 2 = 307 + 0;
  • 307 ÷ 2 = 153 + 1;
  • 153 ÷ 2 = 76 + 1;
  • 76 ÷ 2 = 38 + 0;
  • 38 ÷ 2 = 19 + 0;
  • 19 ÷ 2 = 9 + 1;
  • 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) =


1228(10) =


100 1100 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. 1111 0001 1101 0111 0101 1010 1011 0011 1100 0000 0010 0101 0000 1 1000 1110 1011 1010 1010 1011 1000 0101 1101 0000 1011 0001 0000 0111 0000 1101 0000 1111 0101 1011 1100 0010 1000 1000 1101 1011 0110 1111 1111 1111 1111 1111 1111 1111 1111 1111 1101 0111 =


1111 0001 1101 0111 0101 1010 1011 0011 1100 0000 0010 0101 0000


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 1100 1100


Mantissa (52 bits) =
1111 0001 1101 0111 0101 1010 1011 0011 1100 0000 0010 0101 0000


Decimal number 100 000 001 110 011 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 959 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 100 1100 1100 - 1111 0001 1101 0111 0101 1010 1011 0011 1100 0000 0010 0101 0000


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