100 000 000 001 000 111 101 011 100 001 010 001 111 010 111 000 010 100 011 110 223 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 100 000 000 001 000 111 101 011 100 001 010 001 111 010 111 000 010 100 011 110 223(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 001 000 111 101 011 100 001 010 001 111 010 111 000 010 100 011 110 223(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 001 000 111 101 011 100 001 010 001 111 010 111 000 010 100 011 110 223 ÷ 2 = 50 000 000 000 500 055 550 505 550 000 505 000 555 505 055 500 005 050 005 555 111 + 1;
  • 50 000 000 000 500 055 550 505 550 000 505 000 555 505 055 500 005 050 005 555 111 ÷ 2 = 25 000 000 000 250 027 775 252 775 000 252 500 277 752 527 750 002 525 002 777 555 + 1;
  • 25 000 000 000 250 027 775 252 775 000 252 500 277 752 527 750 002 525 002 777 555 ÷ 2 = 12 500 000 000 125 013 887 626 387 500 126 250 138 876 263 875 001 262 501 388 777 + 1;
  • 12 500 000 000 125 013 887 626 387 500 126 250 138 876 263 875 001 262 501 388 777 ÷ 2 = 6 250 000 000 062 506 943 813 193 750 063 125 069 438 131 937 500 631 250 694 388 + 1;
  • 6 250 000 000 062 506 943 813 193 750 063 125 069 438 131 937 500 631 250 694 388 ÷ 2 = 3 125 000 000 031 253 471 906 596 875 031 562 534 719 065 968 750 315 625 347 194 + 0;
  • 3 125 000 000 031 253 471 906 596 875 031 562 534 719 065 968 750 315 625 347 194 ÷ 2 = 1 562 500 000 015 626 735 953 298 437 515 781 267 359 532 984 375 157 812 673 597 + 0;
  • 1 562 500 000 015 626 735 953 298 437 515 781 267 359 532 984 375 157 812 673 597 ÷ 2 = 781 250 000 007 813 367 976 649 218 757 890 633 679 766 492 187 578 906 336 798 + 1;
  • 781 250 000 007 813 367 976 649 218 757 890 633 679 766 492 187 578 906 336 798 ÷ 2 = 390 625 000 003 906 683 988 324 609 378 945 316 839 883 246 093 789 453 168 399 + 0;
  • 390 625 000 003 906 683 988 324 609 378 945 316 839 883 246 093 789 453 168 399 ÷ 2 = 195 312 500 001 953 341 994 162 304 689 472 658 419 941 623 046 894 726 584 199 + 1;
  • 195 312 500 001 953 341 994 162 304 689 472 658 419 941 623 046 894 726 584 199 ÷ 2 = 97 656 250 000 976 670 997 081 152 344 736 329 209 970 811 523 447 363 292 099 + 1;
  • 97 656 250 000 976 670 997 081 152 344 736 329 209 970 811 523 447 363 292 099 ÷ 2 = 48 828 125 000 488 335 498 540 576 172 368 164 604 985 405 761 723 681 646 049 + 1;
  • 48 828 125 000 488 335 498 540 576 172 368 164 604 985 405 761 723 681 646 049 ÷ 2 = 24 414 062 500 244 167 749 270 288 086 184 082 302 492 702 880 861 840 823 024 + 1;
  • 24 414 062 500 244 167 749 270 288 086 184 082 302 492 702 880 861 840 823 024 ÷ 2 = 12 207 031 250 122 083 874 635 144 043 092 041 151 246 351 440 430 920 411 512 + 0;
  • 12 207 031 250 122 083 874 635 144 043 092 041 151 246 351 440 430 920 411 512 ÷ 2 = 6 103 515 625 061 041 937 317 572 021 546 020 575 623 175 720 215 460 205 756 + 0;
  • 6 103 515 625 061 041 937 317 572 021 546 020 575 623 175 720 215 460 205 756 ÷ 2 = 3 051 757 812 530 520 968 658 786 010 773 010 287 811 587 860 107 730 102 878 + 0;
  • 3 051 757 812 530 520 968 658 786 010 773 010 287 811 587 860 107 730 102 878 ÷ 2 = 1 525 878 906 265 260 484 329 393 005 386 505 143 905 793 930 053 865 051 439 + 0;
  • 1 525 878 906 265 260 484 329 393 005 386 505 143 905 793 930 053 865 051 439 ÷ 2 = 762 939 453 132 630 242 164 696 502 693 252 571 952 896 965 026 932 525 719 + 1;
  • 762 939 453 132 630 242 164 696 502 693 252 571 952 896 965 026 932 525 719 ÷ 2 = 381 469 726 566 315 121 082 348 251 346 626 285 976 448 482 513 466 262 859 + 1;
  • 381 469 726 566 315 121 082 348 251 346 626 285 976 448 482 513 466 262 859 ÷ 2 = 190 734 863 283 157 560 541 174 125 673 313 142 988 224 241 256 733 131 429 + 1;
  • 190 734 863 283 157 560 541 174 125 673 313 142 988 224 241 256 733 131 429 ÷ 2 = 95 367 431 641 578 780 270 587 062 836 656 571 494 112 120 628 366 565 714 + 1;
  • 95 367 431 641 578 780 270 587 062 836 656 571 494 112 120 628 366 565 714 ÷ 2 = 47 683 715 820 789 390 135 293 531 418 328 285 747 056 060 314 183 282 857 + 0;
  • 47 683 715 820 789 390 135 293 531 418 328 285 747 056 060 314 183 282 857 ÷ 2 = 23 841 857 910 394 695 067 646 765 709 164 142 873 528 030 157 091 641 428 + 1;
  • 23 841 857 910 394 695 067 646 765 709 164 142 873 528 030 157 091 641 428 ÷ 2 = 11 920 928 955 197 347 533 823 382 854 582 071 436 764 015 078 545 820 714 + 0;
  • 11 920 928 955 197 347 533 823 382 854 582 071 436 764 015 078 545 820 714 ÷ 2 = 5 960 464 477 598 673 766 911 691 427 291 035 718 382 007 539 272 910 357 + 0;
  • 5 960 464 477 598 673 766 911 691 427 291 035 718 382 007 539 272 910 357 ÷ 2 = 2 980 232 238 799 336 883 455 845 713 645 517 859 191 003 769 636 455 178 + 1;
  • 2 980 232 238 799 336 883 455 845 713 645 517 859 191 003 769 636 455 178 ÷ 2 = 1 490 116 119 399 668 441 727 922 856 822 758 929 595 501 884 818 227 589 + 0;
  • 1 490 116 119 399 668 441 727 922 856 822 758 929 595 501 884 818 227 589 ÷ 2 = 745 058 059 699 834 220 863 961 428 411 379 464 797 750 942 409 113 794 + 1;
  • 745 058 059 699 834 220 863 961 428 411 379 464 797 750 942 409 113 794 ÷ 2 = 372 529 029 849 917 110 431 980 714 205 689 732 398 875 471 204 556 897 + 0;
  • 372 529 029 849 917 110 431 980 714 205 689 732 398 875 471 204 556 897 ÷ 2 = 186 264 514 924 958 555 215 990 357 102 844 866 199 437 735 602 278 448 + 1;
  • 186 264 514 924 958 555 215 990 357 102 844 866 199 437 735 602 278 448 ÷ 2 = 93 132 257 462 479 277 607 995 178 551 422 433 099 718 867 801 139 224 + 0;
  • 93 132 257 462 479 277 607 995 178 551 422 433 099 718 867 801 139 224 ÷ 2 = 46 566 128 731 239 638 803 997 589 275 711 216 549 859 433 900 569 612 + 0;
  • 46 566 128 731 239 638 803 997 589 275 711 216 549 859 433 900 569 612 ÷ 2 = 23 283 064 365 619 819 401 998 794 637 855 608 274 929 716 950 284 806 + 0;
  • 23 283 064 365 619 819 401 998 794 637 855 608 274 929 716 950 284 806 ÷ 2 = 11 641 532 182 809 909 700 999 397 318 927 804 137 464 858 475 142 403 + 0;
  • 11 641 532 182 809 909 700 999 397 318 927 804 137 464 858 475 142 403 ÷ 2 = 5 820 766 091 404 954 850 499 698 659 463 902 068 732 429 237 571 201 + 1;
  • 5 820 766 091 404 954 850 499 698 659 463 902 068 732 429 237 571 201 ÷ 2 = 2 910 383 045 702 477 425 249 849 329 731 951 034 366 214 618 785 600 + 1;
  • 2 910 383 045 702 477 425 249 849 329 731 951 034 366 214 618 785 600 ÷ 2 = 1 455 191 522 851 238 712 624 924 664 865 975 517 183 107 309 392 800 + 0;
  • 1 455 191 522 851 238 712 624 924 664 865 975 517 183 107 309 392 800 ÷ 2 = 727 595 761 425 619 356 312 462 332 432 987 758 591 553 654 696 400 + 0;
  • 727 595 761 425 619 356 312 462 332 432 987 758 591 553 654 696 400 ÷ 2 = 363 797 880 712 809 678 156 231 166 216 493 879 295 776 827 348 200 + 0;
  • 363 797 880 712 809 678 156 231 166 216 493 879 295 776 827 348 200 ÷ 2 = 181 898 940 356 404 839 078 115 583 108 246 939 647 888 413 674 100 + 0;
  • 181 898 940 356 404 839 078 115 583 108 246 939 647 888 413 674 100 ÷ 2 = 90 949 470 178 202 419 539 057 791 554 123 469 823 944 206 837 050 + 0;
  • 90 949 470 178 202 419 539 057 791 554 123 469 823 944 206 837 050 ÷ 2 = 45 474 735 089 101 209 769 528 895 777 061 734 911 972 103 418 525 + 0;
  • 45 474 735 089 101 209 769 528 895 777 061 734 911 972 103 418 525 ÷ 2 = 22 737 367 544 550 604 884 764 447 888 530 867 455 986 051 709 262 + 1;
  • 22 737 367 544 550 604 884 764 447 888 530 867 455 986 051 709 262 ÷ 2 = 11 368 683 772 275 302 442 382 223 944 265 433 727 993 025 854 631 + 0;
  • 11 368 683 772 275 302 442 382 223 944 265 433 727 993 025 854 631 ÷ 2 = 5 684 341 886 137 651 221 191 111 972 132 716 863 996 512 927 315 + 1;
  • 5 684 341 886 137 651 221 191 111 972 132 716 863 996 512 927 315 ÷ 2 = 2 842 170 943 068 825 610 595 555 986 066 358 431 998 256 463 657 + 1;
  • 2 842 170 943 068 825 610 595 555 986 066 358 431 998 256 463 657 ÷ 2 = 1 421 085 471 534 412 805 297 777 993 033 179 215 999 128 231 828 + 1;
  • 1 421 085 471 534 412 805 297 777 993 033 179 215 999 128 231 828 ÷ 2 = 710 542 735 767 206 402 648 888 996 516 589 607 999 564 115 914 + 0;
  • 710 542 735 767 206 402 648 888 996 516 589 607 999 564 115 914 ÷ 2 = 355 271 367 883 603 201 324 444 498 258 294 803 999 782 057 957 + 0;
  • 355 271 367 883 603 201 324 444 498 258 294 803 999 782 057 957 ÷ 2 = 177 635 683 941 801 600 662 222 249 129 147 401 999 891 028 978 + 1;
  • 177 635 683 941 801 600 662 222 249 129 147 401 999 891 028 978 ÷ 2 = 88 817 841 970 900 800 331 111 124 564 573 700 999 945 514 489 + 0;
  • 88 817 841 970 900 800 331 111 124 564 573 700 999 945 514 489 ÷ 2 = 44 408 920 985 450 400 165 555 562 282 286 850 499 972 757 244 + 1;
  • 44 408 920 985 450 400 165 555 562 282 286 850 499 972 757 244 ÷ 2 = 22 204 460 492 725 200 082 777 781 141 143 425 249 986 378 622 + 0;
  • 22 204 460 492 725 200 082 777 781 141 143 425 249 986 378 622 ÷ 2 = 11 102 230 246 362 600 041 388 890 570 571 712 624 993 189 311 + 0;
  • 11 102 230 246 362 600 041 388 890 570 571 712 624 993 189 311 ÷ 2 = 5 551 115 123 181 300 020 694 445 285 285 856 312 496 594 655 + 1;
  • 5 551 115 123 181 300 020 694 445 285 285 856 312 496 594 655 ÷ 2 = 2 775 557 561 590 650 010 347 222 642 642 928 156 248 297 327 + 1;
  • 2 775 557 561 590 650 010 347 222 642 642 928 156 248 297 327 ÷ 2 = 1 387 778 780 795 325 005 173 611 321 321 464 078 124 148 663 + 1;
  • 1 387 778 780 795 325 005 173 611 321 321 464 078 124 148 663 ÷ 2 = 693 889 390 397 662 502 586 805 660 660 732 039 062 074 331 + 1;
  • 693 889 390 397 662 502 586 805 660 660 732 039 062 074 331 ÷ 2 = 346 944 695 198 831 251 293 402 830 330 366 019 531 037 165 + 1;
  • 346 944 695 198 831 251 293 402 830 330 366 019 531 037 165 ÷ 2 = 173 472 347 599 415 625 646 701 415 165 183 009 765 518 582 + 1;
  • 173 472 347 599 415 625 646 701 415 165 183 009 765 518 582 ÷ 2 = 86 736 173 799 707 812 823 350 707 582 591 504 882 759 291 + 0;
  • 86 736 173 799 707 812 823 350 707 582 591 504 882 759 291 ÷ 2 = 43 368 086 899 853 906 411 675 353 791 295 752 441 379 645 + 1;
  • 43 368 086 899 853 906 411 675 353 791 295 752 441 379 645 ÷ 2 = 21 684 043 449 926 953 205 837 676 895 647 876 220 689 822 + 1;
  • 21 684 043 449 926 953 205 837 676 895 647 876 220 689 822 ÷ 2 = 10 842 021 724 963 476 602 918 838 447 823 938 110 344 911 + 0;
  • 10 842 021 724 963 476 602 918 838 447 823 938 110 344 911 ÷ 2 = 5 421 010 862 481 738 301 459 419 223 911 969 055 172 455 + 1;
  • 5 421 010 862 481 738 301 459 419 223 911 969 055 172 455 ÷ 2 = 2 710 505 431 240 869 150 729 709 611 955 984 527 586 227 + 1;
  • 2 710 505 431 240 869 150 729 709 611 955 984 527 586 227 ÷ 2 = 1 355 252 715 620 434 575 364 854 805 977 992 263 793 113 + 1;
  • 1 355 252 715 620 434 575 364 854 805 977 992 263 793 113 ÷ 2 = 677 626 357 810 217 287 682 427 402 988 996 131 896 556 + 1;
  • 677 626 357 810 217 287 682 427 402 988 996 131 896 556 ÷ 2 = 338 813 178 905 108 643 841 213 701 494 498 065 948 278 + 0;
  • 338 813 178 905 108 643 841 213 701 494 498 065 948 278 ÷ 2 = 169 406 589 452 554 321 920 606 850 747 249 032 974 139 + 0;
  • 169 406 589 452 554 321 920 606 850 747 249 032 974 139 ÷ 2 = 84 703 294 726 277 160 960 303 425 373 624 516 487 069 + 1;
  • 84 703 294 726 277 160 960 303 425 373 624 516 487 069 ÷ 2 = 42 351 647 363 138 580 480 151 712 686 812 258 243 534 + 1;
  • 42 351 647 363 138 580 480 151 712 686 812 258 243 534 ÷ 2 = 21 175 823 681 569 290 240 075 856 343 406 129 121 767 + 0;
  • 21 175 823 681 569 290 240 075 856 343 406 129 121 767 ÷ 2 = 10 587 911 840 784 645 120 037 928 171 703 064 560 883 + 1;
  • 10 587 911 840 784 645 120 037 928 171 703 064 560 883 ÷ 2 = 5 293 955 920 392 322 560 018 964 085 851 532 280 441 + 1;
  • 5 293 955 920 392 322 560 018 964 085 851 532 280 441 ÷ 2 = 2 646 977 960 196 161 280 009 482 042 925 766 140 220 + 1;
  • 2 646 977 960 196 161 280 009 482 042 925 766 140 220 ÷ 2 = 1 323 488 980 098 080 640 004 741 021 462 883 070 110 + 0;
  • 1 323 488 980 098 080 640 004 741 021 462 883 070 110 ÷ 2 = 661 744 490 049 040 320 002 370 510 731 441 535 055 + 0;
  • 661 744 490 049 040 320 002 370 510 731 441 535 055 ÷ 2 = 330 872 245 024 520 160 001 185 255 365 720 767 527 + 1;
  • 330 872 245 024 520 160 001 185 255 365 720 767 527 ÷ 2 = 165 436 122 512 260 080 000 592 627 682 860 383 763 + 1;
  • 165 436 122 512 260 080 000 592 627 682 860 383 763 ÷ 2 = 82 718 061 256 130 040 000 296 313 841 430 191 881 + 1;
  • 82 718 061 256 130 040 000 296 313 841 430 191 881 ÷ 2 = 41 359 030 628 065 020 000 148 156 920 715 095 940 + 1;
  • 41 359 030 628 065 020 000 148 156 920 715 095 940 ÷ 2 = 20 679 515 314 032 510 000 074 078 460 357 547 970 + 0;
  • 20 679 515 314 032 510 000 074 078 460 357 547 970 ÷ 2 = 10 339 757 657 016 255 000 037 039 230 178 773 985 + 0;
  • 10 339 757 657 016 255 000 037 039 230 178 773 985 ÷ 2 = 5 169 878 828 508 127 500 018 519 615 089 386 992 + 1;
  • 5 169 878 828 508 127 500 018 519 615 089 386 992 ÷ 2 = 2 584 939 414 254 063 750 009 259 807 544 693 496 + 0;
  • 2 584 939 414 254 063 750 009 259 807 544 693 496 ÷ 2 = 1 292 469 707 127 031 875 004 629 903 772 346 748 + 0;
  • 1 292 469 707 127 031 875 004 629 903 772 346 748 ÷ 2 = 646 234 853 563 515 937 502 314 951 886 173 374 + 0;
  • 646 234 853 563 515 937 502 314 951 886 173 374 ÷ 2 = 323 117 426 781 757 968 751 157 475 943 086 687 + 0;
  • 323 117 426 781 757 968 751 157 475 943 086 687 ÷ 2 = 161 558 713 390 878 984 375 578 737 971 543 343 + 1;
  • 161 558 713 390 878 984 375 578 737 971 543 343 ÷ 2 = 80 779 356 695 439 492 187 789 368 985 771 671 + 1;
  • 80 779 356 695 439 492 187 789 368 985 771 671 ÷ 2 = 40 389 678 347 719 746 093 894 684 492 885 835 + 1;
  • 40 389 678 347 719 746 093 894 684 492 885 835 ÷ 2 = 20 194 839 173 859 873 046 947 342 246 442 917 + 1;
  • 20 194 839 173 859 873 046 947 342 246 442 917 ÷ 2 = 10 097 419 586 929 936 523 473 671 123 221 458 + 1;
  • 10 097 419 586 929 936 523 473 671 123 221 458 ÷ 2 = 5 048 709 793 464 968 261 736 835 561 610 729 + 0;
  • 5 048 709 793 464 968 261 736 835 561 610 729 ÷ 2 = 2 524 354 896 732 484 130 868 417 780 805 364 + 1;
  • 2 524 354 896 732 484 130 868 417 780 805 364 ÷ 2 = 1 262 177 448 366 242 065 434 208 890 402 682 + 0;
  • 1 262 177 448 366 242 065 434 208 890 402 682 ÷ 2 = 631 088 724 183 121 032 717 104 445 201 341 + 0;
  • 631 088 724 183 121 032 717 104 445 201 341 ÷ 2 = 315 544 362 091 560 516 358 552 222 600 670 + 1;
  • 315 544 362 091 560 516 358 552 222 600 670 ÷ 2 = 157 772 181 045 780 258 179 276 111 300 335 + 0;
  • 157 772 181 045 780 258 179 276 111 300 335 ÷ 2 = 78 886 090 522 890 129 089 638 055 650 167 + 1;
  • 78 886 090 522 890 129 089 638 055 650 167 ÷ 2 = 39 443 045 261 445 064 544 819 027 825 083 + 1;
  • 39 443 045 261 445 064 544 819 027 825 083 ÷ 2 = 19 721 522 630 722 532 272 409 513 912 541 + 1;
  • 19 721 522 630 722 532 272 409 513 912 541 ÷ 2 = 9 860 761 315 361 266 136 204 756 956 270 + 1;
  • 9 860 761 315 361 266 136 204 756 956 270 ÷ 2 = 4 930 380 657 680 633 068 102 378 478 135 + 0;
  • 4 930 380 657 680 633 068 102 378 478 135 ÷ 2 = 2 465 190 328 840 316 534 051 189 239 067 + 1;
  • 2 465 190 328 840 316 534 051 189 239 067 ÷ 2 = 1 232 595 164 420 158 267 025 594 619 533 + 1;
  • 1 232 595 164 420 158 267 025 594 619 533 ÷ 2 = 616 297 582 210 079 133 512 797 309 766 + 1;
  • 616 297 582 210 079 133 512 797 309 766 ÷ 2 = 308 148 791 105 039 566 756 398 654 883 + 0;
  • 308 148 791 105 039 566 756 398 654 883 ÷ 2 = 154 074 395 552 519 783 378 199 327 441 + 1;
  • 154 074 395 552 519 783 378 199 327 441 ÷ 2 = 77 037 197 776 259 891 689 099 663 720 + 1;
  • 77 037 197 776 259 891 689 099 663 720 ÷ 2 = 38 518 598 888 129 945 844 549 831 860 + 0;
  • 38 518 598 888 129 945 844 549 831 860 ÷ 2 = 19 259 299 444 064 972 922 274 915 930 + 0;
  • 19 259 299 444 064 972 922 274 915 930 ÷ 2 = 9 629 649 722 032 486 461 137 457 965 + 0;
  • 9 629 649 722 032 486 461 137 457 965 ÷ 2 = 4 814 824 861 016 243 230 568 728 982 + 1;
  • 4 814 824 861 016 243 230 568 728 982 ÷ 2 = 2 407 412 430 508 121 615 284 364 491 + 0;
  • 2 407 412 430 508 121 615 284 364 491 ÷ 2 = 1 203 706 215 254 060 807 642 182 245 + 1;
  • 1 203 706 215 254 060 807 642 182 245 ÷ 2 = 601 853 107 627 030 403 821 091 122 + 1;
  • 601 853 107 627 030 403 821 091 122 ÷ 2 = 300 926 553 813 515 201 910 545 561 + 0;
  • 300 926 553 813 515 201 910 545 561 ÷ 2 = 150 463 276 906 757 600 955 272 780 + 1;
  • 150 463 276 906 757 600 955 272 780 ÷ 2 = 75 231 638 453 378 800 477 636 390 + 0;
  • 75 231 638 453 378 800 477 636 390 ÷ 2 = 37 615 819 226 689 400 238 818 195 + 0;
  • 37 615 819 226 689 400 238 818 195 ÷ 2 = 18 807 909 613 344 700 119 409 097 + 1;
  • 18 807 909 613 344 700 119 409 097 ÷ 2 = 9 403 954 806 672 350 059 704 548 + 1;
  • 9 403 954 806 672 350 059 704 548 ÷ 2 = 4 701 977 403 336 175 029 852 274 + 0;
  • 4 701 977 403 336 175 029 852 274 ÷ 2 = 2 350 988 701 668 087 514 926 137 + 0;
  • 2 350 988 701 668 087 514 926 137 ÷ 2 = 1 175 494 350 834 043 757 463 068 + 1;
  • 1 175 494 350 834 043 757 463 068 ÷ 2 = 587 747 175 417 021 878 731 534 + 0;
  • 587 747 175 417 021 878 731 534 ÷ 2 = 293 873 587 708 510 939 365 767 + 0;
  • 293 873 587 708 510 939 365 767 ÷ 2 = 146 936 793 854 255 469 682 883 + 1;
  • 146 936 793 854 255 469 682 883 ÷ 2 = 73 468 396 927 127 734 841 441 + 1;
  • 73 468 396 927 127 734 841 441 ÷ 2 = 36 734 198 463 563 867 420 720 + 1;
  • 36 734 198 463 563 867 420 720 ÷ 2 = 18 367 099 231 781 933 710 360 + 0;
  • 18 367 099 231 781 933 710 360 ÷ 2 = 9 183 549 615 890 966 855 180 + 0;
  • 9 183 549 615 890 966 855 180 ÷ 2 = 4 591 774 807 945 483 427 590 + 0;
  • 4 591 774 807 945 483 427 590 ÷ 2 = 2 295 887 403 972 741 713 795 + 0;
  • 2 295 887 403 972 741 713 795 ÷ 2 = 1 147 943 701 986 370 856 897 + 1;
  • 1 147 943 701 986 370 856 897 ÷ 2 = 573 971 850 993 185 428 448 + 1;
  • 573 971 850 993 185 428 448 ÷ 2 = 286 985 925 496 592 714 224 + 0;
  • 286 985 925 496 592 714 224 ÷ 2 = 143 492 962 748 296 357 112 + 0;
  • 143 492 962 748 296 357 112 ÷ 2 = 71 746 481 374 148 178 556 + 0;
  • 71 746 481 374 148 178 556 ÷ 2 = 35 873 240 687 074 089 278 + 0;
  • 35 873 240 687 074 089 278 ÷ 2 = 17 936 620 343 537 044 639 + 0;
  • 17 936 620 343 537 044 639 ÷ 2 = 8 968 310 171 768 522 319 + 1;
  • 8 968 310 171 768 522 319 ÷ 2 = 4 484 155 085 884 261 159 + 1;
  • 4 484 155 085 884 261 159 ÷ 2 = 2 242 077 542 942 130 579 + 1;
  • 2 242 077 542 942 130 579 ÷ 2 = 1 121 038 771 471 065 289 + 1;
  • 1 121 038 771 471 065 289 ÷ 2 = 560 519 385 735 532 644 + 1;
  • 560 519 385 735 532 644 ÷ 2 = 280 259 692 867 766 322 + 0;
  • 280 259 692 867 766 322 ÷ 2 = 140 129 846 433 883 161 + 0;
  • 140 129 846 433 883 161 ÷ 2 = 70 064 923 216 941 580 + 1;
  • 70 064 923 216 941 580 ÷ 2 = 35 032 461 608 470 790 + 0;
  • 35 032 461 608 470 790 ÷ 2 = 17 516 230 804 235 395 + 0;
  • 17 516 230 804 235 395 ÷ 2 = 8 758 115 402 117 697 + 1;
  • 8 758 115 402 117 697 ÷ 2 = 4 379 057 701 058 848 + 1;
  • 4 379 057 701 058 848 ÷ 2 = 2 189 528 850 529 424 + 0;
  • 2 189 528 850 529 424 ÷ 2 = 1 094 764 425 264 712 + 0;
  • 1 094 764 425 264 712 ÷ 2 = 547 382 212 632 356 + 0;
  • 547 382 212 632 356 ÷ 2 = 273 691 106 316 178 + 0;
  • 273 691 106 316 178 ÷ 2 = 136 845 553 158 089 + 0;
  • 136 845 553 158 089 ÷ 2 = 68 422 776 579 044 + 1;
  • 68 422 776 579 044 ÷ 2 = 34 211 388 289 522 + 0;
  • 34 211 388 289 522 ÷ 2 = 17 105 694 144 761 + 0;
  • 17 105 694 144 761 ÷ 2 = 8 552 847 072 380 + 1;
  • 8 552 847 072 380 ÷ 2 = 4 276 423 536 190 + 0;
  • 4 276 423 536 190 ÷ 2 = 2 138 211 768 095 + 0;
  • 2 138 211 768 095 ÷ 2 = 1 069 105 884 047 + 1;
  • 1 069 105 884 047 ÷ 2 = 534 552 942 023 + 1;
  • 534 552 942 023 ÷ 2 = 267 276 471 011 + 1;
  • 267 276 471 011 ÷ 2 = 133 638 235 505 + 1;
  • 133 638 235 505 ÷ 2 = 66 819 117 752 + 1;
  • 66 819 117 752 ÷ 2 = 33 409 558 876 + 0;
  • 33 409 558 876 ÷ 2 = 16 704 779 438 + 0;
  • 16 704 779 438 ÷ 2 = 8 352 389 719 + 0;
  • 8 352 389 719 ÷ 2 = 4 176 194 859 + 1;
  • 4 176 194 859 ÷ 2 = 2 088 097 429 + 1;
  • 2 088 097 429 ÷ 2 = 1 044 048 714 + 1;
  • 1 044 048 714 ÷ 2 = 522 024 357 + 0;
  • 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 001 000 111 101 011 100 001 010 001 111 010 111 000 010 100 011 110 223(10) =


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


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


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


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


1111 0001 1101 0111 0101 1010 0101 0111 0001 1111 0010 0100 0001


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 0111 0001 1111 0010 0100 0001


Decimal number 100 000 000 001 000 111 101 011 100 001 010 001 111 010 111 000 010 100 011 110 223 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 100 1100 1100 - 1111 0001 1101 0111 0101 1010 0101 0111 0001 1111 0010 0100 0001


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