1 000 000 010 100 011 011 011 010 000 010 000 011 000 100 000 000 000 000 000 000 166 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

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

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

1. Divide the number repeatedly by 2.

Keep track of each remainder.

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


  • division = quotient + remainder;
  • 1 000 000 010 100 011 011 011 010 000 010 000 011 000 100 000 000 000 000 000 000 166 ÷ 2 = 500 000 005 050 005 505 505 505 000 005 000 005 500 050 000 000 000 000 000 000 083 + 0;
  • 500 000 005 050 005 505 505 505 000 005 000 005 500 050 000 000 000 000 000 000 083 ÷ 2 = 250 000 002 525 002 752 752 752 500 002 500 002 750 025 000 000 000 000 000 000 041 + 1;
  • 250 000 002 525 002 752 752 752 500 002 500 002 750 025 000 000 000 000 000 000 041 ÷ 2 = 125 000 001 262 501 376 376 376 250 001 250 001 375 012 500 000 000 000 000 000 020 + 1;
  • 125 000 001 262 501 376 376 376 250 001 250 001 375 012 500 000 000 000 000 000 020 ÷ 2 = 62 500 000 631 250 688 188 188 125 000 625 000 687 506 250 000 000 000 000 000 010 + 0;
  • 62 500 000 631 250 688 188 188 125 000 625 000 687 506 250 000 000 000 000 000 010 ÷ 2 = 31 250 000 315 625 344 094 094 062 500 312 500 343 753 125 000 000 000 000 000 005 + 0;
  • 31 250 000 315 625 344 094 094 062 500 312 500 343 753 125 000 000 000 000 000 005 ÷ 2 = 15 625 000 157 812 672 047 047 031 250 156 250 171 876 562 500 000 000 000 000 002 + 1;
  • 15 625 000 157 812 672 047 047 031 250 156 250 171 876 562 500 000 000 000 000 002 ÷ 2 = 7 812 500 078 906 336 023 523 515 625 078 125 085 938 281 250 000 000 000 000 001 + 0;
  • 7 812 500 078 906 336 023 523 515 625 078 125 085 938 281 250 000 000 000 000 001 ÷ 2 = 3 906 250 039 453 168 011 761 757 812 539 062 542 969 140 625 000 000 000 000 000 + 1;
  • 3 906 250 039 453 168 011 761 757 812 539 062 542 969 140 625 000 000 000 000 000 ÷ 2 = 1 953 125 019 726 584 005 880 878 906 269 531 271 484 570 312 500 000 000 000 000 + 0;
  • 1 953 125 019 726 584 005 880 878 906 269 531 271 484 570 312 500 000 000 000 000 ÷ 2 = 976 562 509 863 292 002 940 439 453 134 765 635 742 285 156 250 000 000 000 000 + 0;
  • 976 562 509 863 292 002 940 439 453 134 765 635 742 285 156 250 000 000 000 000 ÷ 2 = 488 281 254 931 646 001 470 219 726 567 382 817 871 142 578 125 000 000 000 000 + 0;
  • 488 281 254 931 646 001 470 219 726 567 382 817 871 142 578 125 000 000 000 000 ÷ 2 = 244 140 627 465 823 000 735 109 863 283 691 408 935 571 289 062 500 000 000 000 + 0;
  • 244 140 627 465 823 000 735 109 863 283 691 408 935 571 289 062 500 000 000 000 ÷ 2 = 122 070 313 732 911 500 367 554 931 641 845 704 467 785 644 531 250 000 000 000 + 0;
  • 122 070 313 732 911 500 367 554 931 641 845 704 467 785 644 531 250 000 000 000 ÷ 2 = 61 035 156 866 455 750 183 777 465 820 922 852 233 892 822 265 625 000 000 000 + 0;
  • 61 035 156 866 455 750 183 777 465 820 922 852 233 892 822 265 625 000 000 000 ÷ 2 = 30 517 578 433 227 875 091 888 732 910 461 426 116 946 411 132 812 500 000 000 + 0;
  • 30 517 578 433 227 875 091 888 732 910 461 426 116 946 411 132 812 500 000 000 ÷ 2 = 15 258 789 216 613 937 545 944 366 455 230 713 058 473 205 566 406 250 000 000 + 0;
  • 15 258 789 216 613 937 545 944 366 455 230 713 058 473 205 566 406 250 000 000 ÷ 2 = 7 629 394 608 306 968 772 972 183 227 615 356 529 236 602 783 203 125 000 000 + 0;
  • 7 629 394 608 306 968 772 972 183 227 615 356 529 236 602 783 203 125 000 000 ÷ 2 = 3 814 697 304 153 484 386 486 091 613 807 678 264 618 301 391 601 562 500 000 + 0;
  • 3 814 697 304 153 484 386 486 091 613 807 678 264 618 301 391 601 562 500 000 ÷ 2 = 1 907 348 652 076 742 193 243 045 806 903 839 132 309 150 695 800 781 250 000 + 0;
  • 1 907 348 652 076 742 193 243 045 806 903 839 132 309 150 695 800 781 250 000 ÷ 2 = 953 674 326 038 371 096 621 522 903 451 919 566 154 575 347 900 390 625 000 + 0;
  • 953 674 326 038 371 096 621 522 903 451 919 566 154 575 347 900 390 625 000 ÷ 2 = 476 837 163 019 185 548 310 761 451 725 959 783 077 287 673 950 195 312 500 + 0;
  • 476 837 163 019 185 548 310 761 451 725 959 783 077 287 673 950 195 312 500 ÷ 2 = 238 418 581 509 592 774 155 380 725 862 979 891 538 643 836 975 097 656 250 + 0;
  • 238 418 581 509 592 774 155 380 725 862 979 891 538 643 836 975 097 656 250 ÷ 2 = 119 209 290 754 796 387 077 690 362 931 489 945 769 321 918 487 548 828 125 + 0;
  • 119 209 290 754 796 387 077 690 362 931 489 945 769 321 918 487 548 828 125 ÷ 2 = 59 604 645 377 398 193 538 845 181 465 744 972 884 660 959 243 774 414 062 + 1;
  • 59 604 645 377 398 193 538 845 181 465 744 972 884 660 959 243 774 414 062 ÷ 2 = 29 802 322 688 699 096 769 422 590 732 872 486 442 330 479 621 887 207 031 + 0;
  • 29 802 322 688 699 096 769 422 590 732 872 486 442 330 479 621 887 207 031 ÷ 2 = 14 901 161 344 349 548 384 711 295 366 436 243 221 165 239 810 943 603 515 + 1;
  • 14 901 161 344 349 548 384 711 295 366 436 243 221 165 239 810 943 603 515 ÷ 2 = 7 450 580 672 174 774 192 355 647 683 218 121 610 582 619 905 471 801 757 + 1;
  • 7 450 580 672 174 774 192 355 647 683 218 121 610 582 619 905 471 801 757 ÷ 2 = 3 725 290 336 087 387 096 177 823 841 609 060 805 291 309 952 735 900 878 + 1;
  • 3 725 290 336 087 387 096 177 823 841 609 060 805 291 309 952 735 900 878 ÷ 2 = 1 862 645 168 043 693 548 088 911 920 804 530 402 645 654 976 367 950 439 + 0;
  • 1 862 645 168 043 693 548 088 911 920 804 530 402 645 654 976 367 950 439 ÷ 2 = 931 322 584 021 846 774 044 455 960 402 265 201 322 827 488 183 975 219 + 1;
  • 931 322 584 021 846 774 044 455 960 402 265 201 322 827 488 183 975 219 ÷ 2 = 465 661 292 010 923 387 022 227 980 201 132 600 661 413 744 091 987 609 + 1;
  • 465 661 292 010 923 387 022 227 980 201 132 600 661 413 744 091 987 609 ÷ 2 = 232 830 646 005 461 693 511 113 990 100 566 300 330 706 872 045 993 804 + 1;
  • 232 830 646 005 461 693 511 113 990 100 566 300 330 706 872 045 993 804 ÷ 2 = 116 415 323 002 730 846 755 556 995 050 283 150 165 353 436 022 996 902 + 0;
  • 116 415 323 002 730 846 755 556 995 050 283 150 165 353 436 022 996 902 ÷ 2 = 58 207 661 501 365 423 377 778 497 525 141 575 082 676 718 011 498 451 + 0;
  • 58 207 661 501 365 423 377 778 497 525 141 575 082 676 718 011 498 451 ÷ 2 = 29 103 830 750 682 711 688 889 248 762 570 787 541 338 359 005 749 225 + 1;
  • 29 103 830 750 682 711 688 889 248 762 570 787 541 338 359 005 749 225 ÷ 2 = 14 551 915 375 341 355 844 444 624 381 285 393 770 669 179 502 874 612 + 1;
  • 14 551 915 375 341 355 844 444 624 381 285 393 770 669 179 502 874 612 ÷ 2 = 7 275 957 687 670 677 922 222 312 190 642 696 885 334 589 751 437 306 + 0;
  • 7 275 957 687 670 677 922 222 312 190 642 696 885 334 589 751 437 306 ÷ 2 = 3 637 978 843 835 338 961 111 156 095 321 348 442 667 294 875 718 653 + 0;
  • 3 637 978 843 835 338 961 111 156 095 321 348 442 667 294 875 718 653 ÷ 2 = 1 818 989 421 917 669 480 555 578 047 660 674 221 333 647 437 859 326 + 1;
  • 1 818 989 421 917 669 480 555 578 047 660 674 221 333 647 437 859 326 ÷ 2 = 909 494 710 958 834 740 277 789 023 830 337 110 666 823 718 929 663 + 0;
  • 909 494 710 958 834 740 277 789 023 830 337 110 666 823 718 929 663 ÷ 2 = 454 747 355 479 417 370 138 894 511 915 168 555 333 411 859 464 831 + 1;
  • 454 747 355 479 417 370 138 894 511 915 168 555 333 411 859 464 831 ÷ 2 = 227 373 677 739 708 685 069 447 255 957 584 277 666 705 929 732 415 + 1;
  • 227 373 677 739 708 685 069 447 255 957 584 277 666 705 929 732 415 ÷ 2 = 113 686 838 869 854 342 534 723 627 978 792 138 833 352 964 866 207 + 1;
  • 113 686 838 869 854 342 534 723 627 978 792 138 833 352 964 866 207 ÷ 2 = 56 843 419 434 927 171 267 361 813 989 396 069 416 676 482 433 103 + 1;
  • 56 843 419 434 927 171 267 361 813 989 396 069 416 676 482 433 103 ÷ 2 = 28 421 709 717 463 585 633 680 906 994 698 034 708 338 241 216 551 + 1;
  • 28 421 709 717 463 585 633 680 906 994 698 034 708 338 241 216 551 ÷ 2 = 14 210 854 858 731 792 816 840 453 497 349 017 354 169 120 608 275 + 1;
  • 14 210 854 858 731 792 816 840 453 497 349 017 354 169 120 608 275 ÷ 2 = 7 105 427 429 365 896 408 420 226 748 674 508 677 084 560 304 137 + 1;
  • 7 105 427 429 365 896 408 420 226 748 674 508 677 084 560 304 137 ÷ 2 = 3 552 713 714 682 948 204 210 113 374 337 254 338 542 280 152 068 + 1;
  • 3 552 713 714 682 948 204 210 113 374 337 254 338 542 280 152 068 ÷ 2 = 1 776 356 857 341 474 102 105 056 687 168 627 169 271 140 076 034 + 0;
  • 1 776 356 857 341 474 102 105 056 687 168 627 169 271 140 076 034 ÷ 2 = 888 178 428 670 737 051 052 528 343 584 313 584 635 570 038 017 + 0;
  • 888 178 428 670 737 051 052 528 343 584 313 584 635 570 038 017 ÷ 2 = 444 089 214 335 368 525 526 264 171 792 156 792 317 785 019 008 + 1;
  • 444 089 214 335 368 525 526 264 171 792 156 792 317 785 019 008 ÷ 2 = 222 044 607 167 684 262 763 132 085 896 078 396 158 892 509 504 + 0;
  • 222 044 607 167 684 262 763 132 085 896 078 396 158 892 509 504 ÷ 2 = 111 022 303 583 842 131 381 566 042 948 039 198 079 446 254 752 + 0;
  • 111 022 303 583 842 131 381 566 042 948 039 198 079 446 254 752 ÷ 2 = 55 511 151 791 921 065 690 783 021 474 019 599 039 723 127 376 + 0;
  • 55 511 151 791 921 065 690 783 021 474 019 599 039 723 127 376 ÷ 2 = 27 755 575 895 960 532 845 391 510 737 009 799 519 861 563 688 + 0;
  • 27 755 575 895 960 532 845 391 510 737 009 799 519 861 563 688 ÷ 2 = 13 877 787 947 980 266 422 695 755 368 504 899 759 930 781 844 + 0;
  • 13 877 787 947 980 266 422 695 755 368 504 899 759 930 781 844 ÷ 2 = 6 938 893 973 990 133 211 347 877 684 252 449 879 965 390 922 + 0;
  • 6 938 893 973 990 133 211 347 877 684 252 449 879 965 390 922 ÷ 2 = 3 469 446 986 995 066 605 673 938 842 126 224 939 982 695 461 + 0;
  • 3 469 446 986 995 066 605 673 938 842 126 224 939 982 695 461 ÷ 2 = 1 734 723 493 497 533 302 836 969 421 063 112 469 991 347 730 + 1;
  • 1 734 723 493 497 533 302 836 969 421 063 112 469 991 347 730 ÷ 2 = 867 361 746 748 766 651 418 484 710 531 556 234 995 673 865 + 0;
  • 867 361 746 748 766 651 418 484 710 531 556 234 995 673 865 ÷ 2 = 433 680 873 374 383 325 709 242 355 265 778 117 497 836 932 + 1;
  • 433 680 873 374 383 325 709 242 355 265 778 117 497 836 932 ÷ 2 = 216 840 436 687 191 662 854 621 177 632 889 058 748 918 466 + 0;
  • 216 840 436 687 191 662 854 621 177 632 889 058 748 918 466 ÷ 2 = 108 420 218 343 595 831 427 310 588 816 444 529 374 459 233 + 0;
  • 108 420 218 343 595 831 427 310 588 816 444 529 374 459 233 ÷ 2 = 54 210 109 171 797 915 713 655 294 408 222 264 687 229 616 + 1;
  • 54 210 109 171 797 915 713 655 294 408 222 264 687 229 616 ÷ 2 = 27 105 054 585 898 957 856 827 647 204 111 132 343 614 808 + 0;
  • 27 105 054 585 898 957 856 827 647 204 111 132 343 614 808 ÷ 2 = 13 552 527 292 949 478 928 413 823 602 055 566 171 807 404 + 0;
  • 13 552 527 292 949 478 928 413 823 602 055 566 171 807 404 ÷ 2 = 6 776 263 646 474 739 464 206 911 801 027 783 085 903 702 + 0;
  • 6 776 263 646 474 739 464 206 911 801 027 783 085 903 702 ÷ 2 = 3 388 131 823 237 369 732 103 455 900 513 891 542 951 851 + 0;
  • 3 388 131 823 237 369 732 103 455 900 513 891 542 951 851 ÷ 2 = 1 694 065 911 618 684 866 051 727 950 256 945 771 475 925 + 1;
  • 1 694 065 911 618 684 866 051 727 950 256 945 771 475 925 ÷ 2 = 847 032 955 809 342 433 025 863 975 128 472 885 737 962 + 1;
  • 847 032 955 809 342 433 025 863 975 128 472 885 737 962 ÷ 2 = 423 516 477 904 671 216 512 931 987 564 236 442 868 981 + 0;
  • 423 516 477 904 671 216 512 931 987 564 236 442 868 981 ÷ 2 = 211 758 238 952 335 608 256 465 993 782 118 221 434 490 + 1;
  • 211 758 238 952 335 608 256 465 993 782 118 221 434 490 ÷ 2 = 105 879 119 476 167 804 128 232 996 891 059 110 717 245 + 0;
  • 105 879 119 476 167 804 128 232 996 891 059 110 717 245 ÷ 2 = 52 939 559 738 083 902 064 116 498 445 529 555 358 622 + 1;
  • 52 939 559 738 083 902 064 116 498 445 529 555 358 622 ÷ 2 = 26 469 779 869 041 951 032 058 249 222 764 777 679 311 + 0;
  • 26 469 779 869 041 951 032 058 249 222 764 777 679 311 ÷ 2 = 13 234 889 934 520 975 516 029 124 611 382 388 839 655 + 1;
  • 13 234 889 934 520 975 516 029 124 611 382 388 839 655 ÷ 2 = 6 617 444 967 260 487 758 014 562 305 691 194 419 827 + 1;
  • 6 617 444 967 260 487 758 014 562 305 691 194 419 827 ÷ 2 = 3 308 722 483 630 243 879 007 281 152 845 597 209 913 + 1;
  • 3 308 722 483 630 243 879 007 281 152 845 597 209 913 ÷ 2 = 1 654 361 241 815 121 939 503 640 576 422 798 604 956 + 1;
  • 1 654 361 241 815 121 939 503 640 576 422 798 604 956 ÷ 2 = 827 180 620 907 560 969 751 820 288 211 399 302 478 + 0;
  • 827 180 620 907 560 969 751 820 288 211 399 302 478 ÷ 2 = 413 590 310 453 780 484 875 910 144 105 699 651 239 + 0;
  • 413 590 310 453 780 484 875 910 144 105 699 651 239 ÷ 2 = 206 795 155 226 890 242 437 955 072 052 849 825 619 + 1;
  • 206 795 155 226 890 242 437 955 072 052 849 825 619 ÷ 2 = 103 397 577 613 445 121 218 977 536 026 424 912 809 + 1;
  • 103 397 577 613 445 121 218 977 536 026 424 912 809 ÷ 2 = 51 698 788 806 722 560 609 488 768 013 212 456 404 + 1;
  • 51 698 788 806 722 560 609 488 768 013 212 456 404 ÷ 2 = 25 849 394 403 361 280 304 744 384 006 606 228 202 + 0;
  • 25 849 394 403 361 280 304 744 384 006 606 228 202 ÷ 2 = 12 924 697 201 680 640 152 372 192 003 303 114 101 + 0;
  • 12 924 697 201 680 640 152 372 192 003 303 114 101 ÷ 2 = 6 462 348 600 840 320 076 186 096 001 651 557 050 + 1;
  • 6 462 348 600 840 320 076 186 096 001 651 557 050 ÷ 2 = 3 231 174 300 420 160 038 093 048 000 825 778 525 + 0;
  • 3 231 174 300 420 160 038 093 048 000 825 778 525 ÷ 2 = 1 615 587 150 210 080 019 046 524 000 412 889 262 + 1;
  • 1 615 587 150 210 080 019 046 524 000 412 889 262 ÷ 2 = 807 793 575 105 040 009 523 262 000 206 444 631 + 0;
  • 807 793 575 105 040 009 523 262 000 206 444 631 ÷ 2 = 403 896 787 552 520 004 761 631 000 103 222 315 + 1;
  • 403 896 787 552 520 004 761 631 000 103 222 315 ÷ 2 = 201 948 393 776 260 002 380 815 500 051 611 157 + 1;
  • 201 948 393 776 260 002 380 815 500 051 611 157 ÷ 2 = 100 974 196 888 130 001 190 407 750 025 805 578 + 1;
  • 100 974 196 888 130 001 190 407 750 025 805 578 ÷ 2 = 50 487 098 444 065 000 595 203 875 012 902 789 + 0;
  • 50 487 098 444 065 000 595 203 875 012 902 789 ÷ 2 = 25 243 549 222 032 500 297 601 937 506 451 394 + 1;
  • 25 243 549 222 032 500 297 601 937 506 451 394 ÷ 2 = 12 621 774 611 016 250 148 800 968 753 225 697 + 0;
  • 12 621 774 611 016 250 148 800 968 753 225 697 ÷ 2 = 6 310 887 305 508 125 074 400 484 376 612 848 + 1;
  • 6 310 887 305 508 125 074 400 484 376 612 848 ÷ 2 = 3 155 443 652 754 062 537 200 242 188 306 424 + 0;
  • 3 155 443 652 754 062 537 200 242 188 306 424 ÷ 2 = 1 577 721 826 377 031 268 600 121 094 153 212 + 0;
  • 1 577 721 826 377 031 268 600 121 094 153 212 ÷ 2 = 788 860 913 188 515 634 300 060 547 076 606 + 0;
  • 788 860 913 188 515 634 300 060 547 076 606 ÷ 2 = 394 430 456 594 257 817 150 030 273 538 303 + 0;
  • 394 430 456 594 257 817 150 030 273 538 303 ÷ 2 = 197 215 228 297 128 908 575 015 136 769 151 + 1;
  • 197 215 228 297 128 908 575 015 136 769 151 ÷ 2 = 98 607 614 148 564 454 287 507 568 384 575 + 1;
  • 98 607 614 148 564 454 287 507 568 384 575 ÷ 2 = 49 303 807 074 282 227 143 753 784 192 287 + 1;
  • 49 303 807 074 282 227 143 753 784 192 287 ÷ 2 = 24 651 903 537 141 113 571 876 892 096 143 + 1;
  • 24 651 903 537 141 113 571 876 892 096 143 ÷ 2 = 12 325 951 768 570 556 785 938 446 048 071 + 1;
  • 12 325 951 768 570 556 785 938 446 048 071 ÷ 2 = 6 162 975 884 285 278 392 969 223 024 035 + 1;
  • 6 162 975 884 285 278 392 969 223 024 035 ÷ 2 = 3 081 487 942 142 639 196 484 611 512 017 + 1;
  • 3 081 487 942 142 639 196 484 611 512 017 ÷ 2 = 1 540 743 971 071 319 598 242 305 756 008 + 1;
  • 1 540 743 971 071 319 598 242 305 756 008 ÷ 2 = 770 371 985 535 659 799 121 152 878 004 + 0;
  • 770 371 985 535 659 799 121 152 878 004 ÷ 2 = 385 185 992 767 829 899 560 576 439 002 + 0;
  • 385 185 992 767 829 899 560 576 439 002 ÷ 2 = 192 592 996 383 914 949 780 288 219 501 + 0;
  • 192 592 996 383 914 949 780 288 219 501 ÷ 2 = 96 296 498 191 957 474 890 144 109 750 + 1;
  • 96 296 498 191 957 474 890 144 109 750 ÷ 2 = 48 148 249 095 978 737 445 072 054 875 + 0;
  • 48 148 249 095 978 737 445 072 054 875 ÷ 2 = 24 074 124 547 989 368 722 536 027 437 + 1;
  • 24 074 124 547 989 368 722 536 027 437 ÷ 2 = 12 037 062 273 994 684 361 268 013 718 + 1;
  • 12 037 062 273 994 684 361 268 013 718 ÷ 2 = 6 018 531 136 997 342 180 634 006 859 + 0;
  • 6 018 531 136 997 342 180 634 006 859 ÷ 2 = 3 009 265 568 498 671 090 317 003 429 + 1;
  • 3 009 265 568 498 671 090 317 003 429 ÷ 2 = 1 504 632 784 249 335 545 158 501 714 + 1;
  • 1 504 632 784 249 335 545 158 501 714 ÷ 2 = 752 316 392 124 667 772 579 250 857 + 0;
  • 752 316 392 124 667 772 579 250 857 ÷ 2 = 376 158 196 062 333 886 289 625 428 + 1;
  • 376 158 196 062 333 886 289 625 428 ÷ 2 = 188 079 098 031 166 943 144 812 714 + 0;
  • 188 079 098 031 166 943 144 812 714 ÷ 2 = 94 039 549 015 583 471 572 406 357 + 0;
  • 94 039 549 015 583 471 572 406 357 ÷ 2 = 47 019 774 507 791 735 786 203 178 + 1;
  • 47 019 774 507 791 735 786 203 178 ÷ 2 = 23 509 887 253 895 867 893 101 589 + 0;
  • 23 509 887 253 895 867 893 101 589 ÷ 2 = 11 754 943 626 947 933 946 550 794 + 1;
  • 11 754 943 626 947 933 946 550 794 ÷ 2 = 5 877 471 813 473 966 973 275 397 + 0;
  • 5 877 471 813 473 966 973 275 397 ÷ 2 = 2 938 735 906 736 983 486 637 698 + 1;
  • 2 938 735 906 736 983 486 637 698 ÷ 2 = 1 469 367 953 368 491 743 318 849 + 0;
  • 1 469 367 953 368 491 743 318 849 ÷ 2 = 734 683 976 684 245 871 659 424 + 1;
  • 734 683 976 684 245 871 659 424 ÷ 2 = 367 341 988 342 122 935 829 712 + 0;
  • 367 341 988 342 122 935 829 712 ÷ 2 = 183 670 994 171 061 467 914 856 + 0;
  • 183 670 994 171 061 467 914 856 ÷ 2 = 91 835 497 085 530 733 957 428 + 0;
  • 91 835 497 085 530 733 957 428 ÷ 2 = 45 917 748 542 765 366 978 714 + 0;
  • 45 917 748 542 765 366 978 714 ÷ 2 = 22 958 874 271 382 683 489 357 + 0;
  • 22 958 874 271 382 683 489 357 ÷ 2 = 11 479 437 135 691 341 744 678 + 1;
  • 11 479 437 135 691 341 744 678 ÷ 2 = 5 739 718 567 845 670 872 339 + 0;
  • 5 739 718 567 845 670 872 339 ÷ 2 = 2 869 859 283 922 835 436 169 + 1;
  • 2 869 859 283 922 835 436 169 ÷ 2 = 1 434 929 641 961 417 718 084 + 1;
  • 1 434 929 641 961 417 718 084 ÷ 2 = 717 464 820 980 708 859 042 + 0;
  • 717 464 820 980 708 859 042 ÷ 2 = 358 732 410 490 354 429 521 + 0;
  • 358 732 410 490 354 429 521 ÷ 2 = 179 366 205 245 177 214 760 + 1;
  • 179 366 205 245 177 214 760 ÷ 2 = 89 683 102 622 588 607 380 + 0;
  • 89 683 102 622 588 607 380 ÷ 2 = 44 841 551 311 294 303 690 + 0;
  • 44 841 551 311 294 303 690 ÷ 2 = 22 420 775 655 647 151 845 + 0;
  • 22 420 775 655 647 151 845 ÷ 2 = 11 210 387 827 823 575 922 + 1;
  • 11 210 387 827 823 575 922 ÷ 2 = 5 605 193 913 911 787 961 + 0;
  • 5 605 193 913 911 787 961 ÷ 2 = 2 802 596 956 955 893 980 + 1;
  • 2 802 596 956 955 893 980 ÷ 2 = 1 401 298 478 477 946 990 + 0;
  • 1 401 298 478 477 946 990 ÷ 2 = 700 649 239 238 973 495 + 0;
  • 700 649 239 238 973 495 ÷ 2 = 350 324 619 619 486 747 + 1;
  • 350 324 619 619 486 747 ÷ 2 = 175 162 309 809 743 373 + 1;
  • 175 162 309 809 743 373 ÷ 2 = 87 581 154 904 871 686 + 1;
  • 87 581 154 904 871 686 ÷ 2 = 43 790 577 452 435 843 + 0;
  • 43 790 577 452 435 843 ÷ 2 = 21 895 288 726 217 921 + 1;
  • 21 895 288 726 217 921 ÷ 2 = 10 947 644 363 108 960 + 1;
  • 10 947 644 363 108 960 ÷ 2 = 5 473 822 181 554 480 + 0;
  • 5 473 822 181 554 480 ÷ 2 = 2 736 911 090 777 240 + 0;
  • 2 736 911 090 777 240 ÷ 2 = 1 368 455 545 388 620 + 0;
  • 1 368 455 545 388 620 ÷ 2 = 684 227 772 694 310 + 0;
  • 684 227 772 694 310 ÷ 2 = 342 113 886 347 155 + 0;
  • 342 113 886 347 155 ÷ 2 = 171 056 943 173 577 + 1;
  • 171 056 943 173 577 ÷ 2 = 85 528 471 586 788 + 1;
  • 85 528 471 586 788 ÷ 2 = 42 764 235 793 394 + 0;
  • 42 764 235 793 394 ÷ 2 = 21 382 117 896 697 + 0;
  • 21 382 117 896 697 ÷ 2 = 10 691 058 948 348 + 1;
  • 10 691 058 948 348 ÷ 2 = 5 345 529 474 174 + 0;
  • 5 345 529 474 174 ÷ 2 = 2 672 764 737 087 + 0;
  • 2 672 764 737 087 ÷ 2 = 1 336 382 368 543 + 1;
  • 1 336 382 368 543 ÷ 2 = 668 191 184 271 + 1;
  • 668 191 184 271 ÷ 2 = 334 095 592 135 + 1;
  • 334 095 592 135 ÷ 2 = 167 047 796 067 + 1;
  • 167 047 796 067 ÷ 2 = 83 523 898 033 + 1;
  • 83 523 898 033 ÷ 2 = 41 761 949 016 + 1;
  • 41 761 949 016 ÷ 2 = 20 880 974 508 + 0;
  • 20 880 974 508 ÷ 2 = 10 440 487 254 + 0;
  • 10 440 487 254 ÷ 2 = 5 220 243 627 + 0;
  • 5 220 243 627 ÷ 2 = 2 610 121 813 + 1;
  • 2 610 121 813 ÷ 2 = 1 305 060 906 + 1;
  • 1 305 060 906 ÷ 2 = 652 530 453 + 0;
  • 652 530 453 ÷ 2 = 326 265 226 + 1;
  • 326 265 226 ÷ 2 = 163 132 613 + 0;
  • 163 132 613 ÷ 2 = 81 566 306 + 1;
  • 81 566 306 ÷ 2 = 40 783 153 + 0;
  • 40 783 153 ÷ 2 = 20 391 576 + 1;
  • 20 391 576 ÷ 2 = 10 195 788 + 0;
  • 10 195 788 ÷ 2 = 5 097 894 + 0;
  • 5 097 894 ÷ 2 = 2 548 947 + 0;
  • 2 548 947 ÷ 2 = 1 274 473 + 1;
  • 1 274 473 ÷ 2 = 637 236 + 1;
  • 637 236 ÷ 2 = 318 618 + 0;
  • 318 618 ÷ 2 = 159 309 + 0;
  • 159 309 ÷ 2 = 79 654 + 1;
  • 79 654 ÷ 2 = 39 827 + 0;
  • 39 827 ÷ 2 = 19 913 + 1;
  • 19 913 ÷ 2 = 9 956 + 1;
  • 9 956 ÷ 2 = 4 978 + 0;
  • 4 978 ÷ 2 = 2 489 + 0;
  • 2 489 ÷ 2 = 1 244 + 1;
  • 1 244 ÷ 2 = 622 + 0;
  • 622 ÷ 2 = 311 + 0;
  • 311 ÷ 2 = 155 + 1;
  • 155 ÷ 2 = 77 + 1;
  • 77 ÷ 2 = 38 + 1;
  • 38 ÷ 2 = 19 + 0;
  • 19 ÷ 2 = 9 + 1;
  • 9 ÷ 2 = 4 + 1;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

2. Construct the base 2 representation of the positive number.

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

1 000 000 010 100 011 011 011 010 000 010 000 011 000 100 000 000 000 000 000 000 166(10) =


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


3. Normalize the binary representation of the number.

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


1 000 000 010 100 011 011 011 010 000 010 000 011 000 100 000 000 000 000 000 000 166(10) =


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


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


1.0011 0111 0010 0110 1001 1000 1010 1011 0001 1111 1001 0011 0000 0110 1110 0101 0001 0011 0100 0001 0101 0100 1011 0110 1000 1111 1111 0000 1010 1110 1010 0111 0011 1101 0101 1000 0100 1010 0000 0010 0111 1111 1010 0110 0111 0111 0100 0000 0000 0000 0101 0011 0(2) × 2209


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


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


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


209 + 2(11-1) - 1 =


(209 + 1 023)(10) =


1 232(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 232 ÷ 2 = 616 + 0;
  • 616 ÷ 2 = 308 + 0;
  • 308 ÷ 2 = 154 + 0;
  • 154 ÷ 2 = 77 + 0;
  • 77 ÷ 2 = 38 + 1;
  • 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) =


1232(10) =


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


0011 0111 0010 0110 1001 1000 1010 1011 0001 1111 1001 0011 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 1101 0000


Mantissa (52 bits) =
0011 0111 0010 0110 1001 1000 1010 1011 0001 1111 1001 0011 0000


Decimal number 1 000 000 010 100 011 011 011 010 000 010 000 011 000 100 000 000 000 000 000 000 166 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 100 1101 0000 - 0011 0111 0010 0110 1001 1000 1010 1011 0001 1111 1001 0011 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