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

Convert decimal 100 000 001 001 000 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 955(10) to 64 bit double precision IEEE 754 binary floating point representation standard (1 bit for sign, 11 bits for exponent, 52 bits for mantissa)

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

1. Divide the number repeatedly by 2.

Keep track of each remainder.

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


  • division = quotient + remainder;
  • 100 000 001 001 000 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 955 ÷ 2 = 50 000 000 500 500 055 549 999 999 999 999 999 999 999 999 999 999 999 999 999 977 + 1;
  • 50 000 000 500 500 055 549 999 999 999 999 999 999 999 999 999 999 999 999 999 977 ÷ 2 = 25 000 000 250 250 027 774 999 999 999 999 999 999 999 999 999 999 999 999 999 988 + 1;
  • 25 000 000 250 250 027 774 999 999 999 999 999 999 999 999 999 999 999 999 999 988 ÷ 2 = 12 500 000 125 125 013 887 499 999 999 999 999 999 999 999 999 999 999 999 999 994 + 0;
  • 12 500 000 125 125 013 887 499 999 999 999 999 999 999 999 999 999 999 999 999 994 ÷ 2 = 6 250 000 062 562 506 943 749 999 999 999 999 999 999 999 999 999 999 999 999 997 + 0;
  • 6 250 000 062 562 506 943 749 999 999 999 999 999 999 999 999 999 999 999 999 997 ÷ 2 = 3 125 000 031 281 253 471 874 999 999 999 999 999 999 999 999 999 999 999 999 998 + 1;
  • 3 125 000 031 281 253 471 874 999 999 999 999 999 999 999 999 999 999 999 999 998 ÷ 2 = 1 562 500 015 640 626 735 937 499 999 999 999 999 999 999 999 999 999 999 999 999 + 0;
  • 1 562 500 015 640 626 735 937 499 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 781 250 007 820 313 367 968 749 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 781 250 007 820 313 367 968 749 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 390 625 003 910 156 683 984 374 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 390 625 003 910 156 683 984 374 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 195 312 501 955 078 341 992 187 499 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 195 312 501 955 078 341 992 187 499 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 97 656 250 977 539 170 996 093 749 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 97 656 250 977 539 170 996 093 749 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 48 828 125 488 769 585 498 046 874 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 48 828 125 488 769 585 498 046 874 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 24 414 062 744 384 792 749 023 437 499 999 999 999 999 999 999 999 999 999 999 + 1;
  • 24 414 062 744 384 792 749 023 437 499 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 12 207 031 372 192 396 374 511 718 749 999 999 999 999 999 999 999 999 999 999 + 1;
  • 12 207 031 372 192 396 374 511 718 749 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 6 103 515 686 096 198 187 255 859 374 999 999 999 999 999 999 999 999 999 999 + 1;
  • 6 103 515 686 096 198 187 255 859 374 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 3 051 757 843 048 099 093 627 929 687 499 999 999 999 999 999 999 999 999 999 + 1;
  • 3 051 757 843 048 099 093 627 929 687 499 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 525 878 921 524 049 546 813 964 843 749 999 999 999 999 999 999 999 999 999 + 1;
  • 1 525 878 921 524 049 546 813 964 843 749 999 999 999 999 999 999 999 999 999 ÷ 2 = 762 939 460 762 024 773 406 982 421 874 999 999 999 999 999 999 999 999 999 + 1;
  • 762 939 460 762 024 773 406 982 421 874 999 999 999 999 999 999 999 999 999 ÷ 2 = 381 469 730 381 012 386 703 491 210 937 499 999 999 999 999 999 999 999 999 + 1;
  • 381 469 730 381 012 386 703 491 210 937 499 999 999 999 999 999 999 999 999 ÷ 2 = 190 734 865 190 506 193 351 745 605 468 749 999 999 999 999 999 999 999 999 + 1;
  • 190 734 865 190 506 193 351 745 605 468 749 999 999 999 999 999 999 999 999 ÷ 2 = 95 367 432 595 253 096 675 872 802 734 374 999 999 999 999 999 999 999 999 + 1;
  • 95 367 432 595 253 096 675 872 802 734 374 999 999 999 999 999 999 999 999 ÷ 2 = 47 683 716 297 626 548 337 936 401 367 187 499 999 999 999 999 999 999 999 + 1;
  • 47 683 716 297 626 548 337 936 401 367 187 499 999 999 999 999 999 999 999 ÷ 2 = 23 841 858 148 813 274 168 968 200 683 593 749 999 999 999 999 999 999 999 + 1;
  • 23 841 858 148 813 274 168 968 200 683 593 749 999 999 999 999 999 999 999 ÷ 2 = 11 920 929 074 406 637 084 484 100 341 796 874 999 999 999 999 999 999 999 + 1;
  • 11 920 929 074 406 637 084 484 100 341 796 874 999 999 999 999 999 999 999 ÷ 2 = 5 960 464 537 203 318 542 242 050 170 898 437 499 999 999 999 999 999 999 + 1;
  • 5 960 464 537 203 318 542 242 050 170 898 437 499 999 999 999 999 999 999 ÷ 2 = 2 980 232 268 601 659 271 121 025 085 449 218 749 999 999 999 999 999 999 + 1;
  • 2 980 232 268 601 659 271 121 025 085 449 218 749 999 999 999 999 999 999 ÷ 2 = 1 490 116 134 300 829 635 560 512 542 724 609 374 999 999 999 999 999 999 + 1;
  • 1 490 116 134 300 829 635 560 512 542 724 609 374 999 999 999 999 999 999 ÷ 2 = 745 058 067 150 414 817 780 256 271 362 304 687 499 999 999 999 999 999 + 1;
  • 745 058 067 150 414 817 780 256 271 362 304 687 499 999 999 999 999 999 ÷ 2 = 372 529 033 575 207 408 890 128 135 681 152 343 749 999 999 999 999 999 + 1;
  • 372 529 033 575 207 408 890 128 135 681 152 343 749 999 999 999 999 999 ÷ 2 = 186 264 516 787 603 704 445 064 067 840 576 171 874 999 999 999 999 999 + 1;
  • 186 264 516 787 603 704 445 064 067 840 576 171 874 999 999 999 999 999 ÷ 2 = 93 132 258 393 801 852 222 532 033 920 288 085 937 499 999 999 999 999 + 1;
  • 93 132 258 393 801 852 222 532 033 920 288 085 937 499 999 999 999 999 ÷ 2 = 46 566 129 196 900 926 111 266 016 960 144 042 968 749 999 999 999 999 + 1;
  • 46 566 129 196 900 926 111 266 016 960 144 042 968 749 999 999 999 999 ÷ 2 = 23 283 064 598 450 463 055 633 008 480 072 021 484 374 999 999 999 999 + 1;
  • 23 283 064 598 450 463 055 633 008 480 072 021 484 374 999 999 999 999 ÷ 2 = 11 641 532 299 225 231 527 816 504 240 036 010 742 187 499 999 999 999 + 1;
  • 11 641 532 299 225 231 527 816 504 240 036 010 742 187 499 999 999 999 ÷ 2 = 5 820 766 149 612 615 763 908 252 120 018 005 371 093 749 999 999 999 + 1;
  • 5 820 766 149 612 615 763 908 252 120 018 005 371 093 749 999 999 999 ÷ 2 = 2 910 383 074 806 307 881 954 126 060 009 002 685 546 874 999 999 999 + 1;
  • 2 910 383 074 806 307 881 954 126 060 009 002 685 546 874 999 999 999 ÷ 2 = 1 455 191 537 403 153 940 977 063 030 004 501 342 773 437 499 999 999 + 1;
  • 1 455 191 537 403 153 940 977 063 030 004 501 342 773 437 499 999 999 ÷ 2 = 727 595 768 701 576 970 488 531 515 002 250 671 386 718 749 999 999 + 1;
  • 727 595 768 701 576 970 488 531 515 002 250 671 386 718 749 999 999 ÷ 2 = 363 797 884 350 788 485 244 265 757 501 125 335 693 359 374 999 999 + 1;
  • 363 797 884 350 788 485 244 265 757 501 125 335 693 359 374 999 999 ÷ 2 = 181 898 942 175 394 242 622 132 878 750 562 667 846 679 687 499 999 + 1;
  • 181 898 942 175 394 242 622 132 878 750 562 667 846 679 687 499 999 ÷ 2 = 90 949 471 087 697 121 311 066 439 375 281 333 923 339 843 749 999 + 1;
  • 90 949 471 087 697 121 311 066 439 375 281 333 923 339 843 749 999 ÷ 2 = 45 474 735 543 848 560 655 533 219 687 640 666 961 669 921 874 999 + 1;
  • 45 474 735 543 848 560 655 533 219 687 640 666 961 669 921 874 999 ÷ 2 = 22 737 367 771 924 280 327 766 609 843 820 333 480 834 960 937 499 + 1;
  • 22 737 367 771 924 280 327 766 609 843 820 333 480 834 960 937 499 ÷ 2 = 11 368 683 885 962 140 163 883 304 921 910 166 740 417 480 468 749 + 1;
  • 11 368 683 885 962 140 163 883 304 921 910 166 740 417 480 468 749 ÷ 2 = 5 684 341 942 981 070 081 941 652 460 955 083 370 208 740 234 374 + 1;
  • 5 684 341 942 981 070 081 941 652 460 955 083 370 208 740 234 374 ÷ 2 = 2 842 170 971 490 535 040 970 826 230 477 541 685 104 370 117 187 + 0;
  • 2 842 170 971 490 535 040 970 826 230 477 541 685 104 370 117 187 ÷ 2 = 1 421 085 485 745 267 520 485 413 115 238 770 842 552 185 058 593 + 1;
  • 1 421 085 485 745 267 520 485 413 115 238 770 842 552 185 058 593 ÷ 2 = 710 542 742 872 633 760 242 706 557 619 385 421 276 092 529 296 + 1;
  • 710 542 742 872 633 760 242 706 557 619 385 421 276 092 529 296 ÷ 2 = 355 271 371 436 316 880 121 353 278 809 692 710 638 046 264 648 + 0;
  • 355 271 371 436 316 880 121 353 278 809 692 710 638 046 264 648 ÷ 2 = 177 635 685 718 158 440 060 676 639 404 846 355 319 023 132 324 + 0;
  • 177 635 685 718 158 440 060 676 639 404 846 355 319 023 132 324 ÷ 2 = 88 817 842 859 079 220 030 338 319 702 423 177 659 511 566 162 + 0;
  • 88 817 842 859 079 220 030 338 319 702 423 177 659 511 566 162 ÷ 2 = 44 408 921 429 539 610 015 169 159 851 211 588 829 755 783 081 + 0;
  • 44 408 921 429 539 610 015 169 159 851 211 588 829 755 783 081 ÷ 2 = 22 204 460 714 769 805 007 584 579 925 605 794 414 877 891 540 + 1;
  • 22 204 460 714 769 805 007 584 579 925 605 794 414 877 891 540 ÷ 2 = 11 102 230 357 384 902 503 792 289 962 802 897 207 438 945 770 + 0;
  • 11 102 230 357 384 902 503 792 289 962 802 897 207 438 945 770 ÷ 2 = 5 551 115 178 692 451 251 896 144 981 401 448 603 719 472 885 + 0;
  • 5 551 115 178 692 451 251 896 144 981 401 448 603 719 472 885 ÷ 2 = 2 775 557 589 346 225 625 948 072 490 700 724 301 859 736 442 + 1;
  • 2 775 557 589 346 225 625 948 072 490 700 724 301 859 736 442 ÷ 2 = 1 387 778 794 673 112 812 974 036 245 350 362 150 929 868 221 + 0;
  • 1 387 778 794 673 112 812 974 036 245 350 362 150 929 868 221 ÷ 2 = 693 889 397 336 556 406 487 018 122 675 181 075 464 934 110 + 1;
  • 693 889 397 336 556 406 487 018 122 675 181 075 464 934 110 ÷ 2 = 346 944 698 668 278 203 243 509 061 337 590 537 732 467 055 + 0;
  • 346 944 698 668 278 203 243 509 061 337 590 537 732 467 055 ÷ 2 = 173 472 349 334 139 101 621 754 530 668 795 268 866 233 527 + 1;
  • 173 472 349 334 139 101 621 754 530 668 795 268 866 233 527 ÷ 2 = 86 736 174 667 069 550 810 877 265 334 397 634 433 116 763 + 1;
  • 86 736 174 667 069 550 810 877 265 334 397 634 433 116 763 ÷ 2 = 43 368 087 333 534 775 405 438 632 667 198 817 216 558 381 + 1;
  • 43 368 087 333 534 775 405 438 632 667 198 817 216 558 381 ÷ 2 = 21 684 043 666 767 387 702 719 316 333 599 408 608 279 190 + 1;
  • 21 684 043 666 767 387 702 719 316 333 599 408 608 279 190 ÷ 2 = 10 842 021 833 383 693 851 359 658 166 799 704 304 139 595 + 0;
  • 10 842 021 833 383 693 851 359 658 166 799 704 304 139 595 ÷ 2 = 5 421 010 916 691 846 925 679 829 083 399 852 152 069 797 + 1;
  • 5 421 010 916 691 846 925 679 829 083 399 852 152 069 797 ÷ 2 = 2 710 505 458 345 923 462 839 914 541 699 926 076 034 898 + 1;
  • 2 710 505 458 345 923 462 839 914 541 699 926 076 034 898 ÷ 2 = 1 355 252 729 172 961 731 419 957 270 849 963 038 017 449 + 0;
  • 1 355 252 729 172 961 731 419 957 270 849 963 038 017 449 ÷ 2 = 677 626 364 586 480 865 709 978 635 424 981 519 008 724 + 1;
  • 677 626 364 586 480 865 709 978 635 424 981 519 008 724 ÷ 2 = 338 813 182 293 240 432 854 989 317 712 490 759 504 362 + 0;
  • 338 813 182 293 240 432 854 989 317 712 490 759 504 362 ÷ 2 = 169 406 591 146 620 216 427 494 658 856 245 379 752 181 + 0;
  • 169 406 591 146 620 216 427 494 658 856 245 379 752 181 ÷ 2 = 84 703 295 573 310 108 213 747 329 428 122 689 876 090 + 1;
  • 84 703 295 573 310 108 213 747 329 428 122 689 876 090 ÷ 2 = 42 351 647 786 655 054 106 873 664 714 061 344 938 045 + 0;
  • 42 351 647 786 655 054 106 873 664 714 061 344 938 045 ÷ 2 = 21 175 823 893 327 527 053 436 832 357 030 672 469 022 + 1;
  • 21 175 823 893 327 527 053 436 832 357 030 672 469 022 ÷ 2 = 10 587 911 946 663 763 526 718 416 178 515 336 234 511 + 0;
  • 10 587 911 946 663 763 526 718 416 178 515 336 234 511 ÷ 2 = 5 293 955 973 331 881 763 359 208 089 257 668 117 255 + 1;
  • 5 293 955 973 331 881 763 359 208 089 257 668 117 255 ÷ 2 = 2 646 977 986 665 940 881 679 604 044 628 834 058 627 + 1;
  • 2 646 977 986 665 940 881 679 604 044 628 834 058 627 ÷ 2 = 1 323 488 993 332 970 440 839 802 022 314 417 029 313 + 1;
  • 1 323 488 993 332 970 440 839 802 022 314 417 029 313 ÷ 2 = 661 744 496 666 485 220 419 901 011 157 208 514 656 + 1;
  • 661 744 496 666 485 220 419 901 011 157 208 514 656 ÷ 2 = 330 872 248 333 242 610 209 950 505 578 604 257 328 + 0;
  • 330 872 248 333 242 610 209 950 505 578 604 257 328 ÷ 2 = 165 436 124 166 621 305 104 975 252 789 302 128 664 + 0;
  • 165 436 124 166 621 305 104 975 252 789 302 128 664 ÷ 2 = 82 718 062 083 310 652 552 487 626 394 651 064 332 + 0;
  • 82 718 062 083 310 652 552 487 626 394 651 064 332 ÷ 2 = 41 359 031 041 655 326 276 243 813 197 325 532 166 + 0;
  • 41 359 031 041 655 326 276 243 813 197 325 532 166 ÷ 2 = 20 679 515 520 827 663 138 121 906 598 662 766 083 + 0;
  • 20 679 515 520 827 663 138 121 906 598 662 766 083 ÷ 2 = 10 339 757 760 413 831 569 060 953 299 331 383 041 + 1;
  • 10 339 757 760 413 831 569 060 953 299 331 383 041 ÷ 2 = 5 169 878 880 206 915 784 530 476 649 665 691 520 + 1;
  • 5 169 878 880 206 915 784 530 476 649 665 691 520 ÷ 2 = 2 584 939 440 103 457 892 265 238 324 832 845 760 + 0;
  • 2 584 939 440 103 457 892 265 238 324 832 845 760 ÷ 2 = 1 292 469 720 051 728 946 132 619 162 416 422 880 + 0;
  • 1 292 469 720 051 728 946 132 619 162 416 422 880 ÷ 2 = 646 234 860 025 864 473 066 309 581 208 211 440 + 0;
  • 646 234 860 025 864 473 066 309 581 208 211 440 ÷ 2 = 323 117 430 012 932 236 533 154 790 604 105 720 + 0;
  • 323 117 430 012 932 236 533 154 790 604 105 720 ÷ 2 = 161 558 715 006 466 118 266 577 395 302 052 860 + 0;
  • 161 558 715 006 466 118 266 577 395 302 052 860 ÷ 2 = 80 779 357 503 233 059 133 288 697 651 026 430 + 0;
  • 80 779 357 503 233 059 133 288 697 651 026 430 ÷ 2 = 40 389 678 751 616 529 566 644 348 825 513 215 + 0;
  • 40 389 678 751 616 529 566 644 348 825 513 215 ÷ 2 = 20 194 839 375 808 264 783 322 174 412 756 607 + 1;
  • 20 194 839 375 808 264 783 322 174 412 756 607 ÷ 2 = 10 097 419 687 904 132 391 661 087 206 378 303 + 1;
  • 10 097 419 687 904 132 391 661 087 206 378 303 ÷ 2 = 5 048 709 843 952 066 195 830 543 603 189 151 + 1;
  • 5 048 709 843 952 066 195 830 543 603 189 151 ÷ 2 = 2 524 354 921 976 033 097 915 271 801 594 575 + 1;
  • 2 524 354 921 976 033 097 915 271 801 594 575 ÷ 2 = 1 262 177 460 988 016 548 957 635 900 797 287 + 1;
  • 1 262 177 460 988 016 548 957 635 900 797 287 ÷ 2 = 631 088 730 494 008 274 478 817 950 398 643 + 1;
  • 631 088 730 494 008 274 478 817 950 398 643 ÷ 2 = 315 544 365 247 004 137 239 408 975 199 321 + 1;
  • 315 544 365 247 004 137 239 408 975 199 321 ÷ 2 = 157 772 182 623 502 068 619 704 487 599 660 + 1;
  • 157 772 182 623 502 068 619 704 487 599 660 ÷ 2 = 78 886 091 311 751 034 309 852 243 799 830 + 0;
  • 78 886 091 311 751 034 309 852 243 799 830 ÷ 2 = 39 443 045 655 875 517 154 926 121 899 915 + 0;
  • 39 443 045 655 875 517 154 926 121 899 915 ÷ 2 = 19 721 522 827 937 758 577 463 060 949 957 + 1;
  • 19 721 522 827 937 758 577 463 060 949 957 ÷ 2 = 9 860 761 413 968 879 288 731 530 474 978 + 1;
  • 9 860 761 413 968 879 288 731 530 474 978 ÷ 2 = 4 930 380 706 984 439 644 365 765 237 489 + 0;
  • 4 930 380 706 984 439 644 365 765 237 489 ÷ 2 = 2 465 190 353 492 219 822 182 882 618 744 + 1;
  • 2 465 190 353 492 219 822 182 882 618 744 ÷ 2 = 1 232 595 176 746 109 911 091 441 309 372 + 0;
  • 1 232 595 176 746 109 911 091 441 309 372 ÷ 2 = 616 297 588 373 054 955 545 720 654 686 + 0;
  • 616 297 588 373 054 955 545 720 654 686 ÷ 2 = 308 148 794 186 527 477 772 860 327 343 + 0;
  • 308 148 794 186 527 477 772 860 327 343 ÷ 2 = 154 074 397 093 263 738 886 430 163 671 + 1;
  • 154 074 397 093 263 738 886 430 163 671 ÷ 2 = 77 037 198 546 631 869 443 215 081 835 + 1;
  • 77 037 198 546 631 869 443 215 081 835 ÷ 2 = 38 518 599 273 315 934 721 607 540 917 + 1;
  • 38 518 599 273 315 934 721 607 540 917 ÷ 2 = 19 259 299 636 657 967 360 803 770 458 + 1;
  • 19 259 299 636 657 967 360 803 770 458 ÷ 2 = 9 629 649 818 328 983 680 401 885 229 + 0;
  • 9 629 649 818 328 983 680 401 885 229 ÷ 2 = 4 814 824 909 164 491 840 200 942 614 + 1;
  • 4 814 824 909 164 491 840 200 942 614 ÷ 2 = 2 407 412 454 582 245 920 100 471 307 + 0;
  • 2 407 412 454 582 245 920 100 471 307 ÷ 2 = 1 203 706 227 291 122 960 050 235 653 + 1;
  • 1 203 706 227 291 122 960 050 235 653 ÷ 2 = 601 853 113 645 561 480 025 117 826 + 1;
  • 601 853 113 645 561 480 025 117 826 ÷ 2 = 300 926 556 822 780 740 012 558 913 + 0;
  • 300 926 556 822 780 740 012 558 913 ÷ 2 = 150 463 278 411 390 370 006 279 456 + 1;
  • 150 463 278 411 390 370 006 279 456 ÷ 2 = 75 231 639 205 695 185 003 139 728 + 0;
  • 75 231 639 205 695 185 003 139 728 ÷ 2 = 37 615 819 602 847 592 501 569 864 + 0;
  • 37 615 819 602 847 592 501 569 864 ÷ 2 = 18 807 909 801 423 796 250 784 932 + 0;
  • 18 807 909 801 423 796 250 784 932 ÷ 2 = 9 403 954 900 711 898 125 392 466 + 0;
  • 9 403 954 900 711 898 125 392 466 ÷ 2 = 4 701 977 450 355 949 062 696 233 + 0;
  • 4 701 977 450 355 949 062 696 233 ÷ 2 = 2 350 988 725 177 974 531 348 116 + 1;
  • 2 350 988 725 177 974 531 348 116 ÷ 2 = 1 175 494 362 588 987 265 674 058 + 0;
  • 1 175 494 362 588 987 265 674 058 ÷ 2 = 587 747 181 294 493 632 837 029 + 0;
  • 587 747 181 294 493 632 837 029 ÷ 2 = 293 873 590 647 246 816 418 514 + 1;
  • 293 873 590 647 246 816 418 514 ÷ 2 = 146 936 795 323 623 408 209 257 + 0;
  • 146 936 795 323 623 408 209 257 ÷ 2 = 73 468 397 661 811 704 104 628 + 1;
  • 73 468 397 661 811 704 104 628 ÷ 2 = 36 734 198 830 905 852 052 314 + 0;
  • 36 734 198 830 905 852 052 314 ÷ 2 = 18 367 099 415 452 926 026 157 + 0;
  • 18 367 099 415 452 926 026 157 ÷ 2 = 9 183 549 707 726 463 013 078 + 1;
  • 9 183 549 707 726 463 013 078 ÷ 2 = 4 591 774 853 863 231 506 539 + 0;
  • 4 591 774 853 863 231 506 539 ÷ 2 = 2 295 887 426 931 615 753 269 + 1;
  • 2 295 887 426 931 615 753 269 ÷ 2 = 1 147 943 713 465 807 876 634 + 1;
  • 1 147 943 713 465 807 876 634 ÷ 2 = 573 971 856 732 903 938 317 + 0;
  • 573 971 856 732 903 938 317 ÷ 2 = 286 985 928 366 451 969 158 + 1;
  • 286 985 928 366 451 969 158 ÷ 2 = 143 492 964 183 225 984 579 + 0;
  • 143 492 964 183 225 984 579 ÷ 2 = 71 746 482 091 612 992 289 + 1;
  • 71 746 482 091 612 992 289 ÷ 2 = 35 873 241 045 806 496 144 + 1;
  • 35 873 241 045 806 496 144 ÷ 2 = 17 936 620 522 903 248 072 + 0;
  • 17 936 620 522 903 248 072 ÷ 2 = 8 968 310 261 451 624 036 + 0;
  • 8 968 310 261 451 624 036 ÷ 2 = 4 484 155 130 725 812 018 + 0;
  • 4 484 155 130 725 812 018 ÷ 2 = 2 242 077 565 362 906 009 + 0;
  • 2 242 077 565 362 906 009 ÷ 2 = 1 121 038 782 681 453 004 + 1;
  • 1 121 038 782 681 453 004 ÷ 2 = 560 519 391 340 726 502 + 0;
  • 560 519 391 340 726 502 ÷ 2 = 280 259 695 670 363 251 + 0;
  • 280 259 695 670 363 251 ÷ 2 = 140 129 847 835 181 625 + 1;
  • 140 129 847 835 181 625 ÷ 2 = 70 064 923 917 590 812 + 1;
  • 70 064 923 917 590 812 ÷ 2 = 35 032 461 958 795 406 + 0;
  • 35 032 461 958 795 406 ÷ 2 = 17 516 230 979 397 703 + 0;
  • 17 516 230 979 397 703 ÷ 2 = 8 758 115 489 698 851 + 1;
  • 8 758 115 489 698 851 ÷ 2 = 4 379 057 744 849 425 + 1;
  • 4 379 057 744 849 425 ÷ 2 = 2 189 528 872 424 712 + 1;
  • 2 189 528 872 424 712 ÷ 2 = 1 094 764 436 212 356 + 0;
  • 1 094 764 436 212 356 ÷ 2 = 547 382 218 106 178 + 0;
  • 547 382 218 106 178 ÷ 2 = 273 691 109 053 089 + 0;
  • 273 691 109 053 089 ÷ 2 = 136 845 554 526 544 + 1;
  • 136 845 554 526 544 ÷ 2 = 68 422 777 263 272 + 0;
  • 68 422 777 263 272 ÷ 2 = 34 211 388 631 636 + 0;
  • 34 211 388 631 636 ÷ 2 = 17 105 694 315 818 + 0;
  • 17 105 694 315 818 ÷ 2 = 8 552 847 157 909 + 0;
  • 8 552 847 157 909 ÷ 2 = 4 276 423 578 954 + 1;
  • 4 276 423 578 954 ÷ 2 = 2 138 211 789 477 + 0;
  • 2 138 211 789 477 ÷ 2 = 1 069 105 894 738 + 1;
  • 1 069 105 894 738 ÷ 2 = 534 552 947 369 + 0;
  • 534 552 947 369 ÷ 2 = 267 276 473 684 + 1;
  • 267 276 473 684 ÷ 2 = 133 638 236 842 + 0;
  • 133 638 236 842 ÷ 2 = 66 819 118 421 + 0;
  • 66 819 118 421 ÷ 2 = 33 409 559 210 + 1;
  • 33 409 559 210 ÷ 2 = 16 704 779 605 + 0;
  • 16 704 779 605 ÷ 2 = 8 352 389 802 + 1;
  • 8 352 389 802 ÷ 2 = 4 176 194 901 + 0;
  • 4 176 194 901 ÷ 2 = 2 088 097 450 + 1;
  • 2 088 097 450 ÷ 2 = 1 044 048 725 + 0;
  • 1 044 048 725 ÷ 2 = 522 024 362 + 1;
  • 522 024 362 ÷ 2 = 261 012 181 + 0;
  • 261 012 181 ÷ 2 = 130 506 090 + 1;
  • 130 506 090 ÷ 2 = 65 253 045 + 0;
  • 65 253 045 ÷ 2 = 32 626 522 + 1;
  • 32 626 522 ÷ 2 = 16 313 261 + 0;
  • 16 313 261 ÷ 2 = 8 156 630 + 1;
  • 8 156 630 ÷ 2 = 4 078 315 + 0;
  • 4 078 315 ÷ 2 = 2 039 157 + 1;
  • 2 039 157 ÷ 2 = 1 019 578 + 1;
  • 1 019 578 ÷ 2 = 509 789 + 0;
  • 509 789 ÷ 2 = 254 894 + 1;
  • 254 894 ÷ 2 = 127 447 + 0;
  • 127 447 ÷ 2 = 63 723 + 1;
  • 63 723 ÷ 2 = 31 861 + 1;
  • 31 861 ÷ 2 = 15 930 + 1;
  • 15 930 ÷ 2 = 7 965 + 0;
  • 7 965 ÷ 2 = 3 982 + 1;
  • 3 982 ÷ 2 = 1 991 + 0;
  • 1 991 ÷ 2 = 995 + 1;
  • 995 ÷ 2 = 497 + 1;
  • 497 ÷ 2 = 248 + 1;
  • 248 ÷ 2 = 124 + 0;
  • 124 ÷ 2 = 62 + 0;
  • 62 ÷ 2 = 31 + 0;
  • 31 ÷ 2 = 15 + 1;
  • 15 ÷ 2 = 7 + 1;
  • 7 ÷ 2 = 3 + 1;
  • 3 ÷ 2 = 1 + 1;
  • 1 ÷ 2 = 0 + 1;

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

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

100 000 001 001 000 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 955(10) =


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


3. Normalize the binary representation of the number.

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


100 000 001 001 000 111 099 999 999 999 999 999 999 999 999 999 999 999 999 999 955(10) =


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


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


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


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


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 1010 1010 1010 0101 0100 0010 0011


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

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


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