100 000 000 101 001 099 999 999 999 999 999 999 999 999 999 999 999 999 999 999 781 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 100 000 000 101 001 099 999 999 999 999 999 999 999 999 999 999 999 999 999 999 781(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 000 101 001 099 999 999 999 999 999 999 999 999 999 999 999 999 999 999 781(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 000 101 001 099 999 999 999 999 999 999 999 999 999 999 999 999 999 999 781 ÷ 2 = 50 000 000 050 500 549 999 999 999 999 999 999 999 999 999 999 999 999 999 999 890 + 1;
  • 50 000 000 050 500 549 999 999 999 999 999 999 999 999 999 999 999 999 999 999 890 ÷ 2 = 25 000 000 025 250 274 999 999 999 999 999 999 999 999 999 999 999 999 999 999 945 + 0;
  • 25 000 000 025 250 274 999 999 999 999 999 999 999 999 999 999 999 999 999 999 945 ÷ 2 = 12 500 000 012 625 137 499 999 999 999 999 999 999 999 999 999 999 999 999 999 972 + 1;
  • 12 500 000 012 625 137 499 999 999 999 999 999 999 999 999 999 999 999 999 999 972 ÷ 2 = 6 250 000 006 312 568 749 999 999 999 999 999 999 999 999 999 999 999 999 999 986 + 0;
  • 6 250 000 006 312 568 749 999 999 999 999 999 999 999 999 999 999 999 999 999 986 ÷ 2 = 3 125 000 003 156 284 374 999 999 999 999 999 999 999 999 999 999 999 999 999 993 + 0;
  • 3 125 000 003 156 284 374 999 999 999 999 999 999 999 999 999 999 999 999 999 993 ÷ 2 = 1 562 500 001 578 142 187 499 999 999 999 999 999 999 999 999 999 999 999 999 996 + 1;
  • 1 562 500 001 578 142 187 499 999 999 999 999 999 999 999 999 999 999 999 999 996 ÷ 2 = 781 250 000 789 071 093 749 999 999 999 999 999 999 999 999 999 999 999 999 998 + 0;
  • 781 250 000 789 071 093 749 999 999 999 999 999 999 999 999 999 999 999 999 998 ÷ 2 = 390 625 000 394 535 546 874 999 999 999 999 999 999 999 999 999 999 999 999 999 + 0;
  • 390 625 000 394 535 546 874 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 195 312 500 197 267 773 437 499 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 195 312 500 197 267 773 437 499 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 97 656 250 098 633 886 718 749 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 97 656 250 098 633 886 718 749 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 48 828 125 049 316 943 359 374 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 48 828 125 049 316 943 359 374 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 24 414 062 524 658 471 679 687 499 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 24 414 062 524 658 471 679 687 499 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 12 207 031 262 329 235 839 843 749 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 12 207 031 262 329 235 839 843 749 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 6 103 515 631 164 617 919 921 874 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 6 103 515 631 164 617 919 921 874 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 3 051 757 815 582 308 959 960 937 499 999 999 999 999 999 999 999 999 999 999 + 1;
  • 3 051 757 815 582 308 959 960 937 499 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 525 878 907 791 154 479 980 468 749 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 525 878 907 791 154 479 980 468 749 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 762 939 453 895 577 239 990 234 374 999 999 999 999 999 999 999 999 999 999 + 1;
  • 762 939 453 895 577 239 990 234 374 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 381 469 726 947 788 619 995 117 187 499 999 999 999 999 999 999 999 999 999 + 1;
  • 381 469 726 947 788 619 995 117 187 499 999 999 999 999 999 999 999 999 999 ÷ 2 = 190 734 863 473 894 309 997 558 593 749 999 999 999 999 999 999 999 999 999 + 1;
  • 190 734 863 473 894 309 997 558 593 749 999 999 999 999 999 999 999 999 999 ÷ 2 = 95 367 431 736 947 154 998 779 296 874 999 999 999 999 999 999 999 999 999 + 1;
  • 95 367 431 736 947 154 998 779 296 874 999 999 999 999 999 999 999 999 999 ÷ 2 = 47 683 715 868 473 577 499 389 648 437 499 999 999 999 999 999 999 999 999 + 1;
  • 47 683 715 868 473 577 499 389 648 437 499 999 999 999 999 999 999 999 999 ÷ 2 = 23 841 857 934 236 788 749 694 824 218 749 999 999 999 999 999 999 999 999 + 1;
  • 23 841 857 934 236 788 749 694 824 218 749 999 999 999 999 999 999 999 999 ÷ 2 = 11 920 928 967 118 394 374 847 412 109 374 999 999 999 999 999 999 999 999 + 1;
  • 11 920 928 967 118 394 374 847 412 109 374 999 999 999 999 999 999 999 999 ÷ 2 = 5 960 464 483 559 197 187 423 706 054 687 499 999 999 999 999 999 999 999 + 1;
  • 5 960 464 483 559 197 187 423 706 054 687 499 999 999 999 999 999 999 999 ÷ 2 = 2 980 232 241 779 598 593 711 853 027 343 749 999 999 999 999 999 999 999 + 1;
  • 2 980 232 241 779 598 593 711 853 027 343 749 999 999 999 999 999 999 999 ÷ 2 = 1 490 116 120 889 799 296 855 926 513 671 874 999 999 999 999 999 999 999 + 1;
  • 1 490 116 120 889 799 296 855 926 513 671 874 999 999 999 999 999 999 999 ÷ 2 = 745 058 060 444 899 648 427 963 256 835 937 499 999 999 999 999 999 999 + 1;
  • 745 058 060 444 899 648 427 963 256 835 937 499 999 999 999 999 999 999 ÷ 2 = 372 529 030 222 449 824 213 981 628 417 968 749 999 999 999 999 999 999 + 1;
  • 372 529 030 222 449 824 213 981 628 417 968 749 999 999 999 999 999 999 ÷ 2 = 186 264 515 111 224 912 106 990 814 208 984 374 999 999 999 999 999 999 + 1;
  • 186 264 515 111 224 912 106 990 814 208 984 374 999 999 999 999 999 999 ÷ 2 = 93 132 257 555 612 456 053 495 407 104 492 187 499 999 999 999 999 999 + 1;
  • 93 132 257 555 612 456 053 495 407 104 492 187 499 999 999 999 999 999 ÷ 2 = 46 566 128 777 806 228 026 747 703 552 246 093 749 999 999 999 999 999 + 1;
  • 46 566 128 777 806 228 026 747 703 552 246 093 749 999 999 999 999 999 ÷ 2 = 23 283 064 388 903 114 013 373 851 776 123 046 874 999 999 999 999 999 + 1;
  • 23 283 064 388 903 114 013 373 851 776 123 046 874 999 999 999 999 999 ÷ 2 = 11 641 532 194 451 557 006 686 925 888 061 523 437 499 999 999 999 999 + 1;
  • 11 641 532 194 451 557 006 686 925 888 061 523 437 499 999 999 999 999 ÷ 2 = 5 820 766 097 225 778 503 343 462 944 030 761 718 749 999 999 999 999 + 1;
  • 5 820 766 097 225 778 503 343 462 944 030 761 718 749 999 999 999 999 ÷ 2 = 2 910 383 048 612 889 251 671 731 472 015 380 859 374 999 999 999 999 + 1;
  • 2 910 383 048 612 889 251 671 731 472 015 380 859 374 999 999 999 999 ÷ 2 = 1 455 191 524 306 444 625 835 865 736 007 690 429 687 499 999 999 999 + 1;
  • 1 455 191 524 306 444 625 835 865 736 007 690 429 687 499 999 999 999 ÷ 2 = 727 595 762 153 222 312 917 932 868 003 845 214 843 749 999 999 999 + 1;
  • 727 595 762 153 222 312 917 932 868 003 845 214 843 749 999 999 999 ÷ 2 = 363 797 881 076 611 156 458 966 434 001 922 607 421 874 999 999 999 + 1;
  • 363 797 881 076 611 156 458 966 434 001 922 607 421 874 999 999 999 ÷ 2 = 181 898 940 538 305 578 229 483 217 000 961 303 710 937 499 999 999 + 1;
  • 181 898 940 538 305 578 229 483 217 000 961 303 710 937 499 999 999 ÷ 2 = 90 949 470 269 152 789 114 741 608 500 480 651 855 468 749 999 999 + 1;
  • 90 949 470 269 152 789 114 741 608 500 480 651 855 468 749 999 999 ÷ 2 = 45 474 735 134 576 394 557 370 804 250 240 325 927 734 374 999 999 + 1;
  • 45 474 735 134 576 394 557 370 804 250 240 325 927 734 374 999 999 ÷ 2 = 22 737 367 567 288 197 278 685 402 125 120 162 963 867 187 499 999 + 1;
  • 22 737 367 567 288 197 278 685 402 125 120 162 963 867 187 499 999 ÷ 2 = 11 368 683 783 644 098 639 342 701 062 560 081 481 933 593 749 999 + 1;
  • 11 368 683 783 644 098 639 342 701 062 560 081 481 933 593 749 999 ÷ 2 = 5 684 341 891 822 049 319 671 350 531 280 040 740 966 796 874 999 + 1;
  • 5 684 341 891 822 049 319 671 350 531 280 040 740 966 796 874 999 ÷ 2 = 2 842 170 945 911 024 659 835 675 265 640 020 370 483 398 437 499 + 1;
  • 2 842 170 945 911 024 659 835 675 265 640 020 370 483 398 437 499 ÷ 2 = 1 421 085 472 955 512 329 917 837 632 820 010 185 241 699 218 749 + 1;
  • 1 421 085 472 955 512 329 917 837 632 820 010 185 241 699 218 749 ÷ 2 = 710 542 736 477 756 164 958 918 816 410 005 092 620 849 609 374 + 1;
  • 710 542 736 477 756 164 958 918 816 410 005 092 620 849 609 374 ÷ 2 = 355 271 368 238 878 082 479 459 408 205 002 546 310 424 804 687 + 0;
  • 355 271 368 238 878 082 479 459 408 205 002 546 310 424 804 687 ÷ 2 = 177 635 684 119 439 041 239 729 704 102 501 273 155 212 402 343 + 1;
  • 177 635 684 119 439 041 239 729 704 102 501 273 155 212 402 343 ÷ 2 = 88 817 842 059 719 520 619 864 852 051 250 636 577 606 201 171 + 1;
  • 88 817 842 059 719 520 619 864 852 051 250 636 577 606 201 171 ÷ 2 = 44 408 921 029 859 760 309 932 426 025 625 318 288 803 100 585 + 1;
  • 44 408 921 029 859 760 309 932 426 025 625 318 288 803 100 585 ÷ 2 = 22 204 460 514 929 880 154 966 213 012 812 659 144 401 550 292 + 1;
  • 22 204 460 514 929 880 154 966 213 012 812 659 144 401 550 292 ÷ 2 = 11 102 230 257 464 940 077 483 106 506 406 329 572 200 775 146 + 0;
  • 11 102 230 257 464 940 077 483 106 506 406 329 572 200 775 146 ÷ 2 = 5 551 115 128 732 470 038 741 553 253 203 164 786 100 387 573 + 0;
  • 5 551 115 128 732 470 038 741 553 253 203 164 786 100 387 573 ÷ 2 = 2 775 557 564 366 235 019 370 776 626 601 582 393 050 193 786 + 1;
  • 2 775 557 564 366 235 019 370 776 626 601 582 393 050 193 786 ÷ 2 = 1 387 778 782 183 117 509 685 388 313 300 791 196 525 096 893 + 0;
  • 1 387 778 782 183 117 509 685 388 313 300 791 196 525 096 893 ÷ 2 = 693 889 391 091 558 754 842 694 156 650 395 598 262 548 446 + 1;
  • 693 889 391 091 558 754 842 694 156 650 395 598 262 548 446 ÷ 2 = 346 944 695 545 779 377 421 347 078 325 197 799 131 274 223 + 0;
  • 346 944 695 545 779 377 421 347 078 325 197 799 131 274 223 ÷ 2 = 173 472 347 772 889 688 710 673 539 162 598 899 565 637 111 + 1;
  • 173 472 347 772 889 688 710 673 539 162 598 899 565 637 111 ÷ 2 = 86 736 173 886 444 844 355 336 769 581 299 449 782 818 555 + 1;
  • 86 736 173 886 444 844 355 336 769 581 299 449 782 818 555 ÷ 2 = 43 368 086 943 222 422 177 668 384 790 649 724 891 409 277 + 1;
  • 43 368 086 943 222 422 177 668 384 790 649 724 891 409 277 ÷ 2 = 21 684 043 471 611 211 088 834 192 395 324 862 445 704 638 + 1;
  • 21 684 043 471 611 211 088 834 192 395 324 862 445 704 638 ÷ 2 = 10 842 021 735 805 605 544 417 096 197 662 431 222 852 319 + 0;
  • 10 842 021 735 805 605 544 417 096 197 662 431 222 852 319 ÷ 2 = 5 421 010 867 902 802 772 208 548 098 831 215 611 426 159 + 1;
  • 5 421 010 867 902 802 772 208 548 098 831 215 611 426 159 ÷ 2 = 2 710 505 433 951 401 386 104 274 049 415 607 805 713 079 + 1;
  • 2 710 505 433 951 401 386 104 274 049 415 607 805 713 079 ÷ 2 = 1 355 252 716 975 700 693 052 137 024 707 803 902 856 539 + 1;
  • 1 355 252 716 975 700 693 052 137 024 707 803 902 856 539 ÷ 2 = 677 626 358 487 850 346 526 068 512 353 901 951 428 269 + 1;
  • 677 626 358 487 850 346 526 068 512 353 901 951 428 269 ÷ 2 = 338 813 179 243 925 173 263 034 256 176 950 975 714 134 + 1;
  • 338 813 179 243 925 173 263 034 256 176 950 975 714 134 ÷ 2 = 169 406 589 621 962 586 631 517 128 088 475 487 857 067 + 0;
  • 169 406 589 621 962 586 631 517 128 088 475 487 857 067 ÷ 2 = 84 703 294 810 981 293 315 758 564 044 237 743 928 533 + 1;
  • 84 703 294 810 981 293 315 758 564 044 237 743 928 533 ÷ 2 = 42 351 647 405 490 646 657 879 282 022 118 871 964 266 + 1;
  • 42 351 647 405 490 646 657 879 282 022 118 871 964 266 ÷ 2 = 21 175 823 702 745 323 328 939 641 011 059 435 982 133 + 0;
  • 21 175 823 702 745 323 328 939 641 011 059 435 982 133 ÷ 2 = 10 587 911 851 372 661 664 469 820 505 529 717 991 066 + 1;
  • 10 587 911 851 372 661 664 469 820 505 529 717 991 066 ÷ 2 = 5 293 955 925 686 330 832 234 910 252 764 858 995 533 + 0;
  • 5 293 955 925 686 330 832 234 910 252 764 858 995 533 ÷ 2 = 2 646 977 962 843 165 416 117 455 126 382 429 497 766 + 1;
  • 2 646 977 962 843 165 416 117 455 126 382 429 497 766 ÷ 2 = 1 323 488 981 421 582 708 058 727 563 191 214 748 883 + 0;
  • 1 323 488 981 421 582 708 058 727 563 191 214 748 883 ÷ 2 = 661 744 490 710 791 354 029 363 781 595 607 374 441 + 1;
  • 661 744 490 710 791 354 029 363 781 595 607 374 441 ÷ 2 = 330 872 245 355 395 677 014 681 890 797 803 687 220 + 1;
  • 330 872 245 355 395 677 014 681 890 797 803 687 220 ÷ 2 = 165 436 122 677 697 838 507 340 945 398 901 843 610 + 0;
  • 165 436 122 677 697 838 507 340 945 398 901 843 610 ÷ 2 = 82 718 061 338 848 919 253 670 472 699 450 921 805 + 0;
  • 82 718 061 338 848 919 253 670 472 699 450 921 805 ÷ 2 = 41 359 030 669 424 459 626 835 236 349 725 460 902 + 1;
  • 41 359 030 669 424 459 626 835 236 349 725 460 902 ÷ 2 = 20 679 515 334 712 229 813 417 618 174 862 730 451 + 0;
  • 20 679 515 334 712 229 813 417 618 174 862 730 451 ÷ 2 = 10 339 757 667 356 114 906 708 809 087 431 365 225 + 1;
  • 10 339 757 667 356 114 906 708 809 087 431 365 225 ÷ 2 = 5 169 878 833 678 057 453 354 404 543 715 682 612 + 1;
  • 5 169 878 833 678 057 453 354 404 543 715 682 612 ÷ 2 = 2 584 939 416 839 028 726 677 202 271 857 841 306 + 0;
  • 2 584 939 416 839 028 726 677 202 271 857 841 306 ÷ 2 = 1 292 469 708 419 514 363 338 601 135 928 920 653 + 0;
  • 1 292 469 708 419 514 363 338 601 135 928 920 653 ÷ 2 = 646 234 854 209 757 181 669 300 567 964 460 326 + 1;
  • 646 234 854 209 757 181 669 300 567 964 460 326 ÷ 2 = 323 117 427 104 878 590 834 650 283 982 230 163 + 0;
  • 323 117 427 104 878 590 834 650 283 982 230 163 ÷ 2 = 161 558 713 552 439 295 417 325 141 991 115 081 + 1;
  • 161 558 713 552 439 295 417 325 141 991 115 081 ÷ 2 = 80 779 356 776 219 647 708 662 570 995 557 540 + 1;
  • 80 779 356 776 219 647 708 662 570 995 557 540 ÷ 2 = 40 389 678 388 109 823 854 331 285 497 778 770 + 0;
  • 40 389 678 388 109 823 854 331 285 497 778 770 ÷ 2 = 20 194 839 194 054 911 927 165 642 748 889 385 + 0;
  • 20 194 839 194 054 911 927 165 642 748 889 385 ÷ 2 = 10 097 419 597 027 455 963 582 821 374 444 692 + 1;
  • 10 097 419 597 027 455 963 582 821 374 444 692 ÷ 2 = 5 048 709 798 513 727 981 791 410 687 222 346 + 0;
  • 5 048 709 798 513 727 981 791 410 687 222 346 ÷ 2 = 2 524 354 899 256 863 990 895 705 343 611 173 + 0;
  • 2 524 354 899 256 863 990 895 705 343 611 173 ÷ 2 = 1 262 177 449 628 431 995 447 852 671 805 586 + 1;
  • 1 262 177 449 628 431 995 447 852 671 805 586 ÷ 2 = 631 088 724 814 215 997 723 926 335 902 793 + 0;
  • 631 088 724 814 215 997 723 926 335 902 793 ÷ 2 = 315 544 362 407 107 998 861 963 167 951 396 + 1;
  • 315 544 362 407 107 998 861 963 167 951 396 ÷ 2 = 157 772 181 203 553 999 430 981 583 975 698 + 0;
  • 157 772 181 203 553 999 430 981 583 975 698 ÷ 2 = 78 886 090 601 776 999 715 490 791 987 849 + 0;
  • 78 886 090 601 776 999 715 490 791 987 849 ÷ 2 = 39 443 045 300 888 499 857 745 395 993 924 + 1;
  • 39 443 045 300 888 499 857 745 395 993 924 ÷ 2 = 19 721 522 650 444 249 928 872 697 996 962 + 0;
  • 19 721 522 650 444 249 928 872 697 996 962 ÷ 2 = 9 860 761 325 222 124 964 436 348 998 481 + 0;
  • 9 860 761 325 222 124 964 436 348 998 481 ÷ 2 = 4 930 380 662 611 062 482 218 174 499 240 + 1;
  • 4 930 380 662 611 062 482 218 174 499 240 ÷ 2 = 2 465 190 331 305 531 241 109 087 249 620 + 0;
  • 2 465 190 331 305 531 241 109 087 249 620 ÷ 2 = 1 232 595 165 652 765 620 554 543 624 810 + 0;
  • 1 232 595 165 652 765 620 554 543 624 810 ÷ 2 = 616 297 582 826 382 810 277 271 812 405 + 0;
  • 616 297 582 826 382 810 277 271 812 405 ÷ 2 = 308 148 791 413 191 405 138 635 906 202 + 1;
  • 308 148 791 413 191 405 138 635 906 202 ÷ 2 = 154 074 395 706 595 702 569 317 953 101 + 0;
  • 154 074 395 706 595 702 569 317 953 101 ÷ 2 = 77 037 197 853 297 851 284 658 976 550 + 1;
  • 77 037 197 853 297 851 284 658 976 550 ÷ 2 = 38 518 598 926 648 925 642 329 488 275 + 0;
  • 38 518 598 926 648 925 642 329 488 275 ÷ 2 = 19 259 299 463 324 462 821 164 744 137 + 1;
  • 19 259 299 463 324 462 821 164 744 137 ÷ 2 = 9 629 649 731 662 231 410 582 372 068 + 1;
  • 9 629 649 731 662 231 410 582 372 068 ÷ 2 = 4 814 824 865 831 115 705 291 186 034 + 0;
  • 4 814 824 865 831 115 705 291 186 034 ÷ 2 = 2 407 412 432 915 557 852 645 593 017 + 0;
  • 2 407 412 432 915 557 852 645 593 017 ÷ 2 = 1 203 706 216 457 778 926 322 796 508 + 1;
  • 1 203 706 216 457 778 926 322 796 508 ÷ 2 = 601 853 108 228 889 463 161 398 254 + 0;
  • 601 853 108 228 889 463 161 398 254 ÷ 2 = 300 926 554 114 444 731 580 699 127 + 0;
  • 300 926 554 114 444 731 580 699 127 ÷ 2 = 150 463 277 057 222 365 790 349 563 + 1;
  • 150 463 277 057 222 365 790 349 563 ÷ 2 = 75 231 638 528 611 182 895 174 781 + 1;
  • 75 231 638 528 611 182 895 174 781 ÷ 2 = 37 615 819 264 305 591 447 587 390 + 1;
  • 37 615 819 264 305 591 447 587 390 ÷ 2 = 18 807 909 632 152 795 723 793 695 + 0;
  • 18 807 909 632 152 795 723 793 695 ÷ 2 = 9 403 954 816 076 397 861 896 847 + 1;
  • 9 403 954 816 076 397 861 896 847 ÷ 2 = 4 701 977 408 038 198 930 948 423 + 1;
  • 4 701 977 408 038 198 930 948 423 ÷ 2 = 2 350 988 704 019 099 465 474 211 + 1;
  • 2 350 988 704 019 099 465 474 211 ÷ 2 = 1 175 494 352 009 549 732 737 105 + 1;
  • 1 175 494 352 009 549 732 737 105 ÷ 2 = 587 747 176 004 774 866 368 552 + 1;
  • 587 747 176 004 774 866 368 552 ÷ 2 = 293 873 588 002 387 433 184 276 + 0;
  • 293 873 588 002 387 433 184 276 ÷ 2 = 146 936 794 001 193 716 592 138 + 0;
  • 146 936 794 001 193 716 592 138 ÷ 2 = 73 468 397 000 596 858 296 069 + 0;
  • 73 468 397 000 596 858 296 069 ÷ 2 = 36 734 198 500 298 429 148 034 + 1;
  • 36 734 198 500 298 429 148 034 ÷ 2 = 18 367 099 250 149 214 574 017 + 0;
  • 18 367 099 250 149 214 574 017 ÷ 2 = 9 183 549 625 074 607 287 008 + 1;
  • 9 183 549 625 074 607 287 008 ÷ 2 = 4 591 774 812 537 303 643 504 + 0;
  • 4 591 774 812 537 303 643 504 ÷ 2 = 2 295 887 406 268 651 821 752 + 0;
  • 2 295 887 406 268 651 821 752 ÷ 2 = 1 147 943 703 134 325 910 876 + 0;
  • 1 147 943 703 134 325 910 876 ÷ 2 = 573 971 851 567 162 955 438 + 0;
  • 573 971 851 567 162 955 438 ÷ 2 = 286 985 925 783 581 477 719 + 0;
  • 286 985 925 783 581 477 719 ÷ 2 = 143 492 962 891 790 738 859 + 1;
  • 143 492 962 891 790 738 859 ÷ 2 = 71 746 481 445 895 369 429 + 1;
  • 71 746 481 445 895 369 429 ÷ 2 = 35 873 240 722 947 684 714 + 1;
  • 35 873 240 722 947 684 714 ÷ 2 = 17 936 620 361 473 842 357 + 0;
  • 17 936 620 361 473 842 357 ÷ 2 = 8 968 310 180 736 921 178 + 1;
  • 8 968 310 180 736 921 178 ÷ 2 = 4 484 155 090 368 460 589 + 0;
  • 4 484 155 090 368 460 589 ÷ 2 = 2 242 077 545 184 230 294 + 1;
  • 2 242 077 545 184 230 294 ÷ 2 = 1 121 038 772 592 115 147 + 0;
  • 1 121 038 772 592 115 147 ÷ 2 = 560 519 386 296 057 573 + 1;
  • 560 519 386 296 057 573 ÷ 2 = 280 259 693 148 028 786 + 1;
  • 280 259 693 148 028 786 ÷ 2 = 140 129 846 574 014 393 + 0;
  • 140 129 846 574 014 393 ÷ 2 = 70 064 923 287 007 196 + 1;
  • 70 064 923 287 007 196 ÷ 2 = 35 032 461 643 503 598 + 0;
  • 35 032 461 643 503 598 ÷ 2 = 17 516 230 821 751 799 + 0;
  • 17 516 230 821 751 799 ÷ 2 = 8 758 115 410 875 899 + 1;
  • 8 758 115 410 875 899 ÷ 2 = 4 379 057 705 437 949 + 1;
  • 4 379 057 705 437 949 ÷ 2 = 2 189 528 852 718 974 + 1;
  • 2 189 528 852 718 974 ÷ 2 = 1 094 764 426 359 487 + 0;
  • 1 094 764 426 359 487 ÷ 2 = 547 382 213 179 743 + 1;
  • 547 382 213 179 743 ÷ 2 = 273 691 106 589 871 + 1;
  • 273 691 106 589 871 ÷ 2 = 136 845 553 294 935 + 1;
  • 136 845 553 294 935 ÷ 2 = 68 422 776 647 467 + 1;
  • 68 422 776 647 467 ÷ 2 = 34 211 388 323 733 + 1;
  • 34 211 388 323 733 ÷ 2 = 17 105 694 161 866 + 1;
  • 17 105 694 161 866 ÷ 2 = 8 552 847 080 933 + 0;
  • 8 552 847 080 933 ÷ 2 = 4 276 423 540 466 + 1;
  • 4 276 423 540 466 ÷ 2 = 2 138 211 770 233 + 0;
  • 2 138 211 770 233 ÷ 2 = 1 069 105 885 116 + 1;
  • 1 069 105 885 116 ÷ 2 = 534 552 942 558 + 0;
  • 534 552 942 558 ÷ 2 = 267 276 471 279 + 0;
  • 267 276 471 279 ÷ 2 = 133 638 235 639 + 1;
  • 133 638 235 639 ÷ 2 = 66 819 117 819 + 1;
  • 66 819 117 819 ÷ 2 = 33 409 558 909 + 1;
  • 33 409 558 909 ÷ 2 = 16 704 779 454 + 1;
  • 16 704 779 454 ÷ 2 = 8 352 389 727 + 0;
  • 8 352 389 727 ÷ 2 = 4 176 194 863 + 1;
  • 4 176 194 863 ÷ 2 = 2 088 097 431 + 1;
  • 2 088 097 431 ÷ 2 = 1 044 048 715 + 1;
  • 1 044 048 715 ÷ 2 = 522 024 357 + 1;
  • 522 024 357 ÷ 2 = 261 012 178 + 1;
  • 261 012 178 ÷ 2 = 130 506 089 + 0;
  • 130 506 089 ÷ 2 = 65 253 044 + 1;
  • 65 253 044 ÷ 2 = 32 626 522 + 0;
  • 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 000 101 001 099 999 999 999 999 999 999 999 999 999 999 999 999 999 999 781(10) =


11 1110 0011 1010 1110 1011 0100 1011 1110 1111 0010 1011 1111 0111 0010 1101 0101 1100 0001 0100 0111 1101 1100 1001 1010 1000 1001 0010 1001 0011 0100 1101 0011 0101 0110 1111 1011 1101 0100 1111 0111 1111 1111 1111 1111 1111 1111 1111 1111 1111 0010 0101(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 000 101 001 099 999 999 999 999 999 999 999 999 999 999 999 999 999 999 781(10) =


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


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


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


1111 0001 1101 0111 0101 1010 0101 1111 0111 1001 0101 1111 1011


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 0101 1111 0111 1001 0101 1111 1011


Decimal number 100 000 000 101 001 099 999 999 999 999 999 999 999 999 999 999 999 999 999 999 781 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 100 1100 1100 - 1111 0001 1101 0111 0101 1010 0101 1111 0111 1001 0101 1111 1011


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