100 000 111 010 000 010 001 110 001 110 111 010 000 109 999 999 999 999 999 999 851 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 100 000 111 010 000 010 001 110 001 110 111 010 000 109 999 999 999 999 999 999 851(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 111 010 000 010 001 110 001 110 111 010 000 109 999 999 999 999 999 999 851(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 111 010 000 010 001 110 001 110 111 010 000 109 999 999 999 999 999 999 851 ÷ 2 = 50 000 055 505 000 005 000 555 000 555 055 505 000 054 999 999 999 999 999 999 925 + 1;
  • 50 000 055 505 000 005 000 555 000 555 055 505 000 054 999 999 999 999 999 999 925 ÷ 2 = 25 000 027 752 500 002 500 277 500 277 527 752 500 027 499 999 999 999 999 999 962 + 1;
  • 25 000 027 752 500 002 500 277 500 277 527 752 500 027 499 999 999 999 999 999 962 ÷ 2 = 12 500 013 876 250 001 250 138 750 138 763 876 250 013 749 999 999 999 999 999 981 + 0;
  • 12 500 013 876 250 001 250 138 750 138 763 876 250 013 749 999 999 999 999 999 981 ÷ 2 = 6 250 006 938 125 000 625 069 375 069 381 938 125 006 874 999 999 999 999 999 990 + 1;
  • 6 250 006 938 125 000 625 069 375 069 381 938 125 006 874 999 999 999 999 999 990 ÷ 2 = 3 125 003 469 062 500 312 534 687 534 690 969 062 503 437 499 999 999 999 999 995 + 0;
  • 3 125 003 469 062 500 312 534 687 534 690 969 062 503 437 499 999 999 999 999 995 ÷ 2 = 1 562 501 734 531 250 156 267 343 767 345 484 531 251 718 749 999 999 999 999 997 + 1;
  • 1 562 501 734 531 250 156 267 343 767 345 484 531 251 718 749 999 999 999 999 997 ÷ 2 = 781 250 867 265 625 078 133 671 883 672 742 265 625 859 374 999 999 999 999 998 + 1;
  • 781 250 867 265 625 078 133 671 883 672 742 265 625 859 374 999 999 999 999 998 ÷ 2 = 390 625 433 632 812 539 066 835 941 836 371 132 812 929 687 499 999 999 999 999 + 0;
  • 390 625 433 632 812 539 066 835 941 836 371 132 812 929 687 499 999 999 999 999 ÷ 2 = 195 312 716 816 406 269 533 417 970 918 185 566 406 464 843 749 999 999 999 999 + 1;
  • 195 312 716 816 406 269 533 417 970 918 185 566 406 464 843 749 999 999 999 999 ÷ 2 = 97 656 358 408 203 134 766 708 985 459 092 783 203 232 421 874 999 999 999 999 + 1;
  • 97 656 358 408 203 134 766 708 985 459 092 783 203 232 421 874 999 999 999 999 ÷ 2 = 48 828 179 204 101 567 383 354 492 729 546 391 601 616 210 937 499 999 999 999 + 1;
  • 48 828 179 204 101 567 383 354 492 729 546 391 601 616 210 937 499 999 999 999 ÷ 2 = 24 414 089 602 050 783 691 677 246 364 773 195 800 808 105 468 749 999 999 999 + 1;
  • 24 414 089 602 050 783 691 677 246 364 773 195 800 808 105 468 749 999 999 999 ÷ 2 = 12 207 044 801 025 391 845 838 623 182 386 597 900 404 052 734 374 999 999 999 + 1;
  • 12 207 044 801 025 391 845 838 623 182 386 597 900 404 052 734 374 999 999 999 ÷ 2 = 6 103 522 400 512 695 922 919 311 591 193 298 950 202 026 367 187 499 999 999 + 1;
  • 6 103 522 400 512 695 922 919 311 591 193 298 950 202 026 367 187 499 999 999 ÷ 2 = 3 051 761 200 256 347 961 459 655 795 596 649 475 101 013 183 593 749 999 999 + 1;
  • 3 051 761 200 256 347 961 459 655 795 596 649 475 101 013 183 593 749 999 999 ÷ 2 = 1 525 880 600 128 173 980 729 827 897 798 324 737 550 506 591 796 874 999 999 + 1;
  • 1 525 880 600 128 173 980 729 827 897 798 324 737 550 506 591 796 874 999 999 ÷ 2 = 762 940 300 064 086 990 364 913 948 899 162 368 775 253 295 898 437 499 999 + 1;
  • 762 940 300 064 086 990 364 913 948 899 162 368 775 253 295 898 437 499 999 ÷ 2 = 381 470 150 032 043 495 182 456 974 449 581 184 387 626 647 949 218 749 999 + 1;
  • 381 470 150 032 043 495 182 456 974 449 581 184 387 626 647 949 218 749 999 ÷ 2 = 190 735 075 016 021 747 591 228 487 224 790 592 193 813 323 974 609 374 999 + 1;
  • 190 735 075 016 021 747 591 228 487 224 790 592 193 813 323 974 609 374 999 ÷ 2 = 95 367 537 508 010 873 795 614 243 612 395 296 096 906 661 987 304 687 499 + 1;
  • 95 367 537 508 010 873 795 614 243 612 395 296 096 906 661 987 304 687 499 ÷ 2 = 47 683 768 754 005 436 897 807 121 806 197 648 048 453 330 993 652 343 749 + 1;
  • 47 683 768 754 005 436 897 807 121 806 197 648 048 453 330 993 652 343 749 ÷ 2 = 23 841 884 377 002 718 448 903 560 903 098 824 024 226 665 496 826 171 874 + 1;
  • 23 841 884 377 002 718 448 903 560 903 098 824 024 226 665 496 826 171 874 ÷ 2 = 11 920 942 188 501 359 224 451 780 451 549 412 012 113 332 748 413 085 937 + 0;
  • 11 920 942 188 501 359 224 451 780 451 549 412 012 113 332 748 413 085 937 ÷ 2 = 5 960 471 094 250 679 612 225 890 225 774 706 006 056 666 374 206 542 968 + 1;
  • 5 960 471 094 250 679 612 225 890 225 774 706 006 056 666 374 206 542 968 ÷ 2 = 2 980 235 547 125 339 806 112 945 112 887 353 003 028 333 187 103 271 484 + 0;
  • 2 980 235 547 125 339 806 112 945 112 887 353 003 028 333 187 103 271 484 ÷ 2 = 1 490 117 773 562 669 903 056 472 556 443 676 501 514 166 593 551 635 742 + 0;
  • 1 490 117 773 562 669 903 056 472 556 443 676 501 514 166 593 551 635 742 ÷ 2 = 745 058 886 781 334 951 528 236 278 221 838 250 757 083 296 775 817 871 + 0;
  • 745 058 886 781 334 951 528 236 278 221 838 250 757 083 296 775 817 871 ÷ 2 = 372 529 443 390 667 475 764 118 139 110 919 125 378 541 648 387 908 935 + 1;
  • 372 529 443 390 667 475 764 118 139 110 919 125 378 541 648 387 908 935 ÷ 2 = 186 264 721 695 333 737 882 059 069 555 459 562 689 270 824 193 954 467 + 1;
  • 186 264 721 695 333 737 882 059 069 555 459 562 689 270 824 193 954 467 ÷ 2 = 93 132 360 847 666 868 941 029 534 777 729 781 344 635 412 096 977 233 + 1;
  • 93 132 360 847 666 868 941 029 534 777 729 781 344 635 412 096 977 233 ÷ 2 = 46 566 180 423 833 434 470 514 767 388 864 890 672 317 706 048 488 616 + 1;
  • 46 566 180 423 833 434 470 514 767 388 864 890 672 317 706 048 488 616 ÷ 2 = 23 283 090 211 916 717 235 257 383 694 432 445 336 158 853 024 244 308 + 0;
  • 23 283 090 211 916 717 235 257 383 694 432 445 336 158 853 024 244 308 ÷ 2 = 11 641 545 105 958 358 617 628 691 847 216 222 668 079 426 512 122 154 + 0;
  • 11 641 545 105 958 358 617 628 691 847 216 222 668 079 426 512 122 154 ÷ 2 = 5 820 772 552 979 179 308 814 345 923 608 111 334 039 713 256 061 077 + 0;
  • 5 820 772 552 979 179 308 814 345 923 608 111 334 039 713 256 061 077 ÷ 2 = 2 910 386 276 489 589 654 407 172 961 804 055 667 019 856 628 030 538 + 1;
  • 2 910 386 276 489 589 654 407 172 961 804 055 667 019 856 628 030 538 ÷ 2 = 1 455 193 138 244 794 827 203 586 480 902 027 833 509 928 314 015 269 + 0;
  • 1 455 193 138 244 794 827 203 586 480 902 027 833 509 928 314 015 269 ÷ 2 = 727 596 569 122 397 413 601 793 240 451 013 916 754 964 157 007 634 + 1;
  • 727 596 569 122 397 413 601 793 240 451 013 916 754 964 157 007 634 ÷ 2 = 363 798 284 561 198 706 800 896 620 225 506 958 377 482 078 503 817 + 0;
  • 363 798 284 561 198 706 800 896 620 225 506 958 377 482 078 503 817 ÷ 2 = 181 899 142 280 599 353 400 448 310 112 753 479 188 741 039 251 908 + 1;
  • 181 899 142 280 599 353 400 448 310 112 753 479 188 741 039 251 908 ÷ 2 = 90 949 571 140 299 676 700 224 155 056 376 739 594 370 519 625 954 + 0;
  • 90 949 571 140 299 676 700 224 155 056 376 739 594 370 519 625 954 ÷ 2 = 45 474 785 570 149 838 350 112 077 528 188 369 797 185 259 812 977 + 0;
  • 45 474 785 570 149 838 350 112 077 528 188 369 797 185 259 812 977 ÷ 2 = 22 737 392 785 074 919 175 056 038 764 094 184 898 592 629 906 488 + 1;
  • 22 737 392 785 074 919 175 056 038 764 094 184 898 592 629 906 488 ÷ 2 = 11 368 696 392 537 459 587 528 019 382 047 092 449 296 314 953 244 + 0;
  • 11 368 696 392 537 459 587 528 019 382 047 092 449 296 314 953 244 ÷ 2 = 5 684 348 196 268 729 793 764 009 691 023 546 224 648 157 476 622 + 0;
  • 5 684 348 196 268 729 793 764 009 691 023 546 224 648 157 476 622 ÷ 2 = 2 842 174 098 134 364 896 882 004 845 511 773 112 324 078 738 311 + 0;
  • 2 842 174 098 134 364 896 882 004 845 511 773 112 324 078 738 311 ÷ 2 = 1 421 087 049 067 182 448 441 002 422 755 886 556 162 039 369 155 + 1;
  • 1 421 087 049 067 182 448 441 002 422 755 886 556 162 039 369 155 ÷ 2 = 710 543 524 533 591 224 220 501 211 377 943 278 081 019 684 577 + 1;
  • 710 543 524 533 591 224 220 501 211 377 943 278 081 019 684 577 ÷ 2 = 355 271 762 266 795 612 110 250 605 688 971 639 040 509 842 288 + 1;
  • 355 271 762 266 795 612 110 250 605 688 971 639 040 509 842 288 ÷ 2 = 177 635 881 133 397 806 055 125 302 844 485 819 520 254 921 144 + 0;
  • 177 635 881 133 397 806 055 125 302 844 485 819 520 254 921 144 ÷ 2 = 88 817 940 566 698 903 027 562 651 422 242 909 760 127 460 572 + 0;
  • 88 817 940 566 698 903 027 562 651 422 242 909 760 127 460 572 ÷ 2 = 44 408 970 283 349 451 513 781 325 711 121 454 880 063 730 286 + 0;
  • 44 408 970 283 349 451 513 781 325 711 121 454 880 063 730 286 ÷ 2 = 22 204 485 141 674 725 756 890 662 855 560 727 440 031 865 143 + 0;
  • 22 204 485 141 674 725 756 890 662 855 560 727 440 031 865 143 ÷ 2 = 11 102 242 570 837 362 878 445 331 427 780 363 720 015 932 571 + 1;
  • 11 102 242 570 837 362 878 445 331 427 780 363 720 015 932 571 ÷ 2 = 5 551 121 285 418 681 439 222 665 713 890 181 860 007 966 285 + 1;
  • 5 551 121 285 418 681 439 222 665 713 890 181 860 007 966 285 ÷ 2 = 2 775 560 642 709 340 719 611 332 856 945 090 930 003 983 142 + 1;
  • 2 775 560 642 709 340 719 611 332 856 945 090 930 003 983 142 ÷ 2 = 1 387 780 321 354 670 359 805 666 428 472 545 465 001 991 571 + 0;
  • 1 387 780 321 354 670 359 805 666 428 472 545 465 001 991 571 ÷ 2 = 693 890 160 677 335 179 902 833 214 236 272 732 500 995 785 + 1;
  • 693 890 160 677 335 179 902 833 214 236 272 732 500 995 785 ÷ 2 = 346 945 080 338 667 589 951 416 607 118 136 366 250 497 892 + 1;
  • 346 945 080 338 667 589 951 416 607 118 136 366 250 497 892 ÷ 2 = 173 472 540 169 333 794 975 708 303 559 068 183 125 248 946 + 0;
  • 173 472 540 169 333 794 975 708 303 559 068 183 125 248 946 ÷ 2 = 86 736 270 084 666 897 487 854 151 779 534 091 562 624 473 + 0;
  • 86 736 270 084 666 897 487 854 151 779 534 091 562 624 473 ÷ 2 = 43 368 135 042 333 448 743 927 075 889 767 045 781 312 236 + 1;
  • 43 368 135 042 333 448 743 927 075 889 767 045 781 312 236 ÷ 2 = 21 684 067 521 166 724 371 963 537 944 883 522 890 656 118 + 0;
  • 21 684 067 521 166 724 371 963 537 944 883 522 890 656 118 ÷ 2 = 10 842 033 760 583 362 185 981 768 972 441 761 445 328 059 + 0;
  • 10 842 033 760 583 362 185 981 768 972 441 761 445 328 059 ÷ 2 = 5 421 016 880 291 681 092 990 884 486 220 880 722 664 029 + 1;
  • 5 421 016 880 291 681 092 990 884 486 220 880 722 664 029 ÷ 2 = 2 710 508 440 145 840 546 495 442 243 110 440 361 332 014 + 1;
  • 2 710 508 440 145 840 546 495 442 243 110 440 361 332 014 ÷ 2 = 1 355 254 220 072 920 273 247 721 121 555 220 180 666 007 + 0;
  • 1 355 254 220 072 920 273 247 721 121 555 220 180 666 007 ÷ 2 = 677 627 110 036 460 136 623 860 560 777 610 090 333 003 + 1;
  • 677 627 110 036 460 136 623 860 560 777 610 090 333 003 ÷ 2 = 338 813 555 018 230 068 311 930 280 388 805 045 166 501 + 1;
  • 338 813 555 018 230 068 311 930 280 388 805 045 166 501 ÷ 2 = 169 406 777 509 115 034 155 965 140 194 402 522 583 250 + 1;
  • 169 406 777 509 115 034 155 965 140 194 402 522 583 250 ÷ 2 = 84 703 388 754 557 517 077 982 570 097 201 261 291 625 + 0;
  • 84 703 388 754 557 517 077 982 570 097 201 261 291 625 ÷ 2 = 42 351 694 377 278 758 538 991 285 048 600 630 645 812 + 1;
  • 42 351 694 377 278 758 538 991 285 048 600 630 645 812 ÷ 2 = 21 175 847 188 639 379 269 495 642 524 300 315 322 906 + 0;
  • 21 175 847 188 639 379 269 495 642 524 300 315 322 906 ÷ 2 = 10 587 923 594 319 689 634 747 821 262 150 157 661 453 + 0;
  • 10 587 923 594 319 689 634 747 821 262 150 157 661 453 ÷ 2 = 5 293 961 797 159 844 817 373 910 631 075 078 830 726 + 1;
  • 5 293 961 797 159 844 817 373 910 631 075 078 830 726 ÷ 2 = 2 646 980 898 579 922 408 686 955 315 537 539 415 363 + 0;
  • 2 646 980 898 579 922 408 686 955 315 537 539 415 363 ÷ 2 = 1 323 490 449 289 961 204 343 477 657 768 769 707 681 + 1;
  • 1 323 490 449 289 961 204 343 477 657 768 769 707 681 ÷ 2 = 661 745 224 644 980 602 171 738 828 884 384 853 840 + 1;
  • 661 745 224 644 980 602 171 738 828 884 384 853 840 ÷ 2 = 330 872 612 322 490 301 085 869 414 442 192 426 920 + 0;
  • 330 872 612 322 490 301 085 869 414 442 192 426 920 ÷ 2 = 165 436 306 161 245 150 542 934 707 221 096 213 460 + 0;
  • 165 436 306 161 245 150 542 934 707 221 096 213 460 ÷ 2 = 82 718 153 080 622 575 271 467 353 610 548 106 730 + 0;
  • 82 718 153 080 622 575 271 467 353 610 548 106 730 ÷ 2 = 41 359 076 540 311 287 635 733 676 805 274 053 365 + 0;
  • 41 359 076 540 311 287 635 733 676 805 274 053 365 ÷ 2 = 20 679 538 270 155 643 817 866 838 402 637 026 682 + 1;
  • 20 679 538 270 155 643 817 866 838 402 637 026 682 ÷ 2 = 10 339 769 135 077 821 908 933 419 201 318 513 341 + 0;
  • 10 339 769 135 077 821 908 933 419 201 318 513 341 ÷ 2 = 5 169 884 567 538 910 954 466 709 600 659 256 670 + 1;
  • 5 169 884 567 538 910 954 466 709 600 659 256 670 ÷ 2 = 2 584 942 283 769 455 477 233 354 800 329 628 335 + 0;
  • 2 584 942 283 769 455 477 233 354 800 329 628 335 ÷ 2 = 1 292 471 141 884 727 738 616 677 400 164 814 167 + 1;
  • 1 292 471 141 884 727 738 616 677 400 164 814 167 ÷ 2 = 646 235 570 942 363 869 308 338 700 082 407 083 + 1;
  • 646 235 570 942 363 869 308 338 700 082 407 083 ÷ 2 = 323 117 785 471 181 934 654 169 350 041 203 541 + 1;
  • 323 117 785 471 181 934 654 169 350 041 203 541 ÷ 2 = 161 558 892 735 590 967 327 084 675 020 601 770 + 1;
  • 161 558 892 735 590 967 327 084 675 020 601 770 ÷ 2 = 80 779 446 367 795 483 663 542 337 510 300 885 + 0;
  • 80 779 446 367 795 483 663 542 337 510 300 885 ÷ 2 = 40 389 723 183 897 741 831 771 168 755 150 442 + 1;
  • 40 389 723 183 897 741 831 771 168 755 150 442 ÷ 2 = 20 194 861 591 948 870 915 885 584 377 575 221 + 0;
  • 20 194 861 591 948 870 915 885 584 377 575 221 ÷ 2 = 10 097 430 795 974 435 457 942 792 188 787 610 + 1;
  • 10 097 430 795 974 435 457 942 792 188 787 610 ÷ 2 = 5 048 715 397 987 217 728 971 396 094 393 805 + 0;
  • 5 048 715 397 987 217 728 971 396 094 393 805 ÷ 2 = 2 524 357 698 993 608 864 485 698 047 196 902 + 1;
  • 2 524 357 698 993 608 864 485 698 047 196 902 ÷ 2 = 1 262 178 849 496 804 432 242 849 023 598 451 + 0;
  • 1 262 178 849 496 804 432 242 849 023 598 451 ÷ 2 = 631 089 424 748 402 216 121 424 511 799 225 + 1;
  • 631 089 424 748 402 216 121 424 511 799 225 ÷ 2 = 315 544 712 374 201 108 060 712 255 899 612 + 1;
  • 315 544 712 374 201 108 060 712 255 899 612 ÷ 2 = 157 772 356 187 100 554 030 356 127 949 806 + 0;
  • 157 772 356 187 100 554 030 356 127 949 806 ÷ 2 = 78 886 178 093 550 277 015 178 063 974 903 + 0;
  • 78 886 178 093 550 277 015 178 063 974 903 ÷ 2 = 39 443 089 046 775 138 507 589 031 987 451 + 1;
  • 39 443 089 046 775 138 507 589 031 987 451 ÷ 2 = 19 721 544 523 387 569 253 794 515 993 725 + 1;
  • 19 721 544 523 387 569 253 794 515 993 725 ÷ 2 = 9 860 772 261 693 784 626 897 257 996 862 + 1;
  • 9 860 772 261 693 784 626 897 257 996 862 ÷ 2 = 4 930 386 130 846 892 313 448 628 998 431 + 0;
  • 4 930 386 130 846 892 313 448 628 998 431 ÷ 2 = 2 465 193 065 423 446 156 724 314 499 215 + 1;
  • 2 465 193 065 423 446 156 724 314 499 215 ÷ 2 = 1 232 596 532 711 723 078 362 157 249 607 + 1;
  • 1 232 596 532 711 723 078 362 157 249 607 ÷ 2 = 616 298 266 355 861 539 181 078 624 803 + 1;
  • 616 298 266 355 861 539 181 078 624 803 ÷ 2 = 308 149 133 177 930 769 590 539 312 401 + 1;
  • 308 149 133 177 930 769 590 539 312 401 ÷ 2 = 154 074 566 588 965 384 795 269 656 200 + 1;
  • 154 074 566 588 965 384 795 269 656 200 ÷ 2 = 77 037 283 294 482 692 397 634 828 100 + 0;
  • 77 037 283 294 482 692 397 634 828 100 ÷ 2 = 38 518 641 647 241 346 198 817 414 050 + 0;
  • 38 518 641 647 241 346 198 817 414 050 ÷ 2 = 19 259 320 823 620 673 099 408 707 025 + 0;
  • 19 259 320 823 620 673 099 408 707 025 ÷ 2 = 9 629 660 411 810 336 549 704 353 512 + 1;
  • 9 629 660 411 810 336 549 704 353 512 ÷ 2 = 4 814 830 205 905 168 274 852 176 756 + 0;
  • 4 814 830 205 905 168 274 852 176 756 ÷ 2 = 2 407 415 102 952 584 137 426 088 378 + 0;
  • 2 407 415 102 952 584 137 426 088 378 ÷ 2 = 1 203 707 551 476 292 068 713 044 189 + 0;
  • 1 203 707 551 476 292 068 713 044 189 ÷ 2 = 601 853 775 738 146 034 356 522 094 + 1;
  • 601 853 775 738 146 034 356 522 094 ÷ 2 = 300 926 887 869 073 017 178 261 047 + 0;
  • 300 926 887 869 073 017 178 261 047 ÷ 2 = 150 463 443 934 536 508 589 130 523 + 1;
  • 150 463 443 934 536 508 589 130 523 ÷ 2 = 75 231 721 967 268 254 294 565 261 + 1;
  • 75 231 721 967 268 254 294 565 261 ÷ 2 = 37 615 860 983 634 127 147 282 630 + 1;
  • 37 615 860 983 634 127 147 282 630 ÷ 2 = 18 807 930 491 817 063 573 641 315 + 0;
  • 18 807 930 491 817 063 573 641 315 ÷ 2 = 9 403 965 245 908 531 786 820 657 + 1;
  • 9 403 965 245 908 531 786 820 657 ÷ 2 = 4 701 982 622 954 265 893 410 328 + 1;
  • 4 701 982 622 954 265 893 410 328 ÷ 2 = 2 350 991 311 477 132 946 705 164 + 0;
  • 2 350 991 311 477 132 946 705 164 ÷ 2 = 1 175 495 655 738 566 473 352 582 + 0;
  • 1 175 495 655 738 566 473 352 582 ÷ 2 = 587 747 827 869 283 236 676 291 + 0;
  • 587 747 827 869 283 236 676 291 ÷ 2 = 293 873 913 934 641 618 338 145 + 1;
  • 293 873 913 934 641 618 338 145 ÷ 2 = 146 936 956 967 320 809 169 072 + 1;
  • 146 936 956 967 320 809 169 072 ÷ 2 = 73 468 478 483 660 404 584 536 + 0;
  • 73 468 478 483 660 404 584 536 ÷ 2 = 36 734 239 241 830 202 292 268 + 0;
  • 36 734 239 241 830 202 292 268 ÷ 2 = 18 367 119 620 915 101 146 134 + 0;
  • 18 367 119 620 915 101 146 134 ÷ 2 = 9 183 559 810 457 550 573 067 + 0;
  • 9 183 559 810 457 550 573 067 ÷ 2 = 4 591 779 905 228 775 286 533 + 1;
  • 4 591 779 905 228 775 286 533 ÷ 2 = 2 295 889 952 614 387 643 266 + 1;
  • 2 295 889 952 614 387 643 266 ÷ 2 = 1 147 944 976 307 193 821 633 + 0;
  • 1 147 944 976 307 193 821 633 ÷ 2 = 573 972 488 153 596 910 816 + 1;
  • 573 972 488 153 596 910 816 ÷ 2 = 286 986 244 076 798 455 408 + 0;
  • 286 986 244 076 798 455 408 ÷ 2 = 143 493 122 038 399 227 704 + 0;
  • 143 493 122 038 399 227 704 ÷ 2 = 71 746 561 019 199 613 852 + 0;
  • 71 746 561 019 199 613 852 ÷ 2 = 35 873 280 509 599 806 926 + 0;
  • 35 873 280 509 599 806 926 ÷ 2 = 17 936 640 254 799 903 463 + 0;
  • 17 936 640 254 799 903 463 ÷ 2 = 8 968 320 127 399 951 731 + 1;
  • 8 968 320 127 399 951 731 ÷ 2 = 4 484 160 063 699 975 865 + 1;
  • 4 484 160 063 699 975 865 ÷ 2 = 2 242 080 031 849 987 932 + 1;
  • 2 242 080 031 849 987 932 ÷ 2 = 1 121 040 015 924 993 966 + 0;
  • 1 121 040 015 924 993 966 ÷ 2 = 560 520 007 962 496 983 + 0;
  • 560 520 007 962 496 983 ÷ 2 = 280 260 003 981 248 491 + 1;
  • 280 260 003 981 248 491 ÷ 2 = 140 130 001 990 624 245 + 1;
  • 140 130 001 990 624 245 ÷ 2 = 70 065 000 995 312 122 + 1;
  • 70 065 000 995 312 122 ÷ 2 = 35 032 500 497 656 061 + 0;
  • 35 032 500 497 656 061 ÷ 2 = 17 516 250 248 828 030 + 1;
  • 17 516 250 248 828 030 ÷ 2 = 8 758 125 124 414 015 + 0;
  • 8 758 125 124 414 015 ÷ 2 = 4 379 062 562 207 007 + 1;
  • 4 379 062 562 207 007 ÷ 2 = 2 189 531 281 103 503 + 1;
  • 2 189 531 281 103 503 ÷ 2 = 1 094 765 640 551 751 + 1;
  • 1 094 765 640 551 751 ÷ 2 = 547 382 820 275 875 + 1;
  • 547 382 820 275 875 ÷ 2 = 273 691 410 137 937 + 1;
  • 273 691 410 137 937 ÷ 2 = 136 845 705 068 968 + 1;
  • 136 845 705 068 968 ÷ 2 = 68 422 852 534 484 + 0;
  • 68 422 852 534 484 ÷ 2 = 34 211 426 267 242 + 0;
  • 34 211 426 267 242 ÷ 2 = 17 105 713 133 621 + 0;
  • 17 105 713 133 621 ÷ 2 = 8 552 856 566 810 + 1;
  • 8 552 856 566 810 ÷ 2 = 4 276 428 283 405 + 0;
  • 4 276 428 283 405 ÷ 2 = 2 138 214 141 702 + 1;
  • 2 138 214 141 702 ÷ 2 = 1 069 107 070 851 + 0;
  • 1 069 107 070 851 ÷ 2 = 534 553 535 425 + 1;
  • 534 553 535 425 ÷ 2 = 267 276 767 712 + 1;
  • 267 276 767 712 ÷ 2 = 133 638 383 856 + 0;
  • 133 638 383 856 ÷ 2 = 66 819 191 928 + 0;
  • 66 819 191 928 ÷ 2 = 33 409 595 964 + 0;
  • 33 409 595 964 ÷ 2 = 16 704 797 982 + 0;
  • 16 704 797 982 ÷ 2 = 8 352 398 991 + 0;
  • 8 352 398 991 ÷ 2 = 4 176 199 495 + 1;
  • 4 176 199 495 ÷ 2 = 2 088 099 747 + 1;
  • 2 088 099 747 ÷ 2 = 1 044 049 873 + 1;
  • 1 044 049 873 ÷ 2 = 522 024 936 + 1;
  • 522 024 936 ÷ 2 = 261 012 468 + 0;
  • 261 012 468 ÷ 2 = 130 506 234 + 0;
  • 130 506 234 ÷ 2 = 65 253 117 + 0;
  • 65 253 117 ÷ 2 = 32 626 558 + 1;
  • 32 626 558 ÷ 2 = 16 313 279 + 0;
  • 16 313 279 ÷ 2 = 8 156 639 + 1;
  • 8 156 639 ÷ 2 = 4 078 319 + 1;
  • 4 078 319 ÷ 2 = 2 039 159 + 1;
  • 2 039 159 ÷ 2 = 1 019 579 + 1;
  • 1 019 579 ÷ 2 = 509 789 + 1;
  • 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 111 010 000 010 001 110 001 110 111 010 000 109 999 999 999 999 999 999 851(10) =


11 1110 0011 1010 1110 1111 1101 0001 1110 0000 1101 0100 0111 1110 1011 1001 1100 0001 0110 0001 1000 1101 1101 0001 0001 1111 0111 0011 0101 0101 1110 1010 0001 1010 0101 1101 1001 0011 0111 0000 1110 0010 0101 0100 0111 1000 1011 1111 1111 1111 0110 1011(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 111 010 000 010 001 110 001 110 111 010 000 109 999 999 999 999 999 999 851(10) =


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


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


1.1111 0001 1101 0111 0111 1110 1000 1111 0000 0110 1010 0011 1111 0101 1100 1110 0000 1011 0000 1100 0110 1110 1000 1000 1111 1011 1001 1010 1010 1111 0101 0000 1101 0010 1110 1100 1001 1011 1000 0111 0001 0010 1010 0011 1100 0101 1111 1111 1111 1011 0101 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 0111 1110 1000 1111 0000 0110 1010 0011 1111 0101 1100 1110 0000 1011 0000 1100 0110 1110 1000 1000 1111 1011 1001 1010 1010 1111 0101 0000 1101 0010 1110 1100 1001 1011 1000 0111 0001 0010 1010 0011 1100 0101 1111 1111 1111 1011 0101 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 0111 1110 1000 1111 0000 0110 1010 0011 1111 0 1011 1001 1100 0001 0110 0001 1000 1101 1101 0001 0001 1111 0111 0011 0101 0101 1110 1010 0001 1010 0101 1101 1001 0011 0111 0000 1110 0010 0101 0100 0111 1000 1011 1111 1111 1111 0110 1011 =


1111 0001 1101 0111 0111 1110 1000 1111 0000 0110 1010 0011 1111


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 0111 1110 1000 1111 0000 0110 1010 0011 1111


Decimal number 100 000 111 010 000 010 001 110 001 110 111 010 000 109 999 999 999 999 999 999 851 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 100 1100 1100 - 1111 0001 1101 0111 0111 1110 1000 1111 0000 0110 1010 0011 1111


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