999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 496 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 496(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
999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 496(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;
  • 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 496 ÷ 2 = 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 748 + 0;
  • 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 748 ÷ 2 = 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 874 + 0;
  • 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 874 ÷ 2 = 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 937 + 0;
  • 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 937 ÷ 2 = 62 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 968 + 1;
  • 62 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 968 ÷ 2 = 31 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 984 + 0;
  • 31 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 984 ÷ 2 = 15 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 992 + 0;
  • 15 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 992 ÷ 2 = 7 812 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 996 + 0;
  • 7 812 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 996 ÷ 2 = 3 906 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 998 + 0;
  • 3 906 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 998 ÷ 2 = 1 953 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 0;
  • 1 953 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 976 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 976 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 488 281 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 488 281 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 244 140 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 244 140 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 122 070 312 499 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 122 070 312 499 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 61 035 156 249 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 61 035 156 249 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 30 517 578 124 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 30 517 578 124 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 15 258 789 062 499 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 15 258 789 062 499 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 7 629 394 531 249 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 7 629 394 531 249 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 3 814 697 265 624 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 3 814 697 265 624 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 907 348 632 812 499 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 907 348 632 812 499 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 953 674 316 406 249 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 953 674 316 406 249 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 476 837 158 203 124 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 476 837 158 203 124 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 238 418 579 101 562 499 999 999 999 999 999 999 999 999 999 999 + 1;
  • 238 418 579 101 562 499 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 119 209 289 550 781 249 999 999 999 999 999 999 999 999 999 999 + 1;
  • 119 209 289 550 781 249 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 59 604 644 775 390 624 999 999 999 999 999 999 999 999 999 999 + 1;
  • 59 604 644 775 390 624 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 29 802 322 387 695 312 499 999 999 999 999 999 999 999 999 999 + 1;
  • 29 802 322 387 695 312 499 999 999 999 999 999 999 999 999 999 ÷ 2 = 14 901 161 193 847 656 249 999 999 999 999 999 999 999 999 999 + 1;
  • 14 901 161 193 847 656 249 999 999 999 999 999 999 999 999 999 ÷ 2 = 7 450 580 596 923 828 124 999 999 999 999 999 999 999 999 999 + 1;
  • 7 450 580 596 923 828 124 999 999 999 999 999 999 999 999 999 ÷ 2 = 3 725 290 298 461 914 062 499 999 999 999 999 999 999 999 999 + 1;
  • 3 725 290 298 461 914 062 499 999 999 999 999 999 999 999 999 ÷ 2 = 1 862 645 149 230 957 031 249 999 999 999 999 999 999 999 999 + 1;
  • 1 862 645 149 230 957 031 249 999 999 999 999 999 999 999 999 ÷ 2 = 931 322 574 615 478 515 624 999 999 999 999 999 999 999 999 + 1;
  • 931 322 574 615 478 515 624 999 999 999 999 999 999 999 999 ÷ 2 = 465 661 287 307 739 257 812 499 999 999 999 999 999 999 999 + 1;
  • 465 661 287 307 739 257 812 499 999 999 999 999 999 999 999 ÷ 2 = 232 830 643 653 869 628 906 249 999 999 999 999 999 999 999 + 1;
  • 232 830 643 653 869 628 906 249 999 999 999 999 999 999 999 ÷ 2 = 116 415 321 826 934 814 453 124 999 999 999 999 999 999 999 + 1;
  • 116 415 321 826 934 814 453 124 999 999 999 999 999 999 999 ÷ 2 = 58 207 660 913 467 407 226 562 499 999 999 999 999 999 999 + 1;
  • 58 207 660 913 467 407 226 562 499 999 999 999 999 999 999 ÷ 2 = 29 103 830 456 733 703 613 281 249 999 999 999 999 999 999 + 1;
  • 29 103 830 456 733 703 613 281 249 999 999 999 999 999 999 ÷ 2 = 14 551 915 228 366 851 806 640 624 999 999 999 999 999 999 + 1;
  • 14 551 915 228 366 851 806 640 624 999 999 999 999 999 999 ÷ 2 = 7 275 957 614 183 425 903 320 312 499 999 999 999 999 999 + 1;
  • 7 275 957 614 183 425 903 320 312 499 999 999 999 999 999 ÷ 2 = 3 637 978 807 091 712 951 660 156 249 999 999 999 999 999 + 1;
  • 3 637 978 807 091 712 951 660 156 249 999 999 999 999 999 ÷ 2 = 1 818 989 403 545 856 475 830 078 124 999 999 999 999 999 + 1;
  • 1 818 989 403 545 856 475 830 078 124 999 999 999 999 999 ÷ 2 = 909 494 701 772 928 237 915 039 062 499 999 999 999 999 + 1;
  • 909 494 701 772 928 237 915 039 062 499 999 999 999 999 ÷ 2 = 454 747 350 886 464 118 957 519 531 249 999 999 999 999 + 1;
  • 454 747 350 886 464 118 957 519 531 249 999 999 999 999 ÷ 2 = 227 373 675 443 232 059 478 759 765 624 999 999 999 999 + 1;
  • 227 373 675 443 232 059 478 759 765 624 999 999 999 999 ÷ 2 = 113 686 837 721 616 029 739 379 882 812 499 999 999 999 + 1;
  • 113 686 837 721 616 029 739 379 882 812 499 999 999 999 ÷ 2 = 56 843 418 860 808 014 869 689 941 406 249 999 999 999 + 1;
  • 56 843 418 860 808 014 869 689 941 406 249 999 999 999 ÷ 2 = 28 421 709 430 404 007 434 844 970 703 124 999 999 999 + 1;
  • 28 421 709 430 404 007 434 844 970 703 124 999 999 999 ÷ 2 = 14 210 854 715 202 003 717 422 485 351 562 499 999 999 + 1;
  • 14 210 854 715 202 003 717 422 485 351 562 499 999 999 ÷ 2 = 7 105 427 357 601 001 858 711 242 675 781 249 999 999 + 1;
  • 7 105 427 357 601 001 858 711 242 675 781 249 999 999 ÷ 2 = 3 552 713 678 800 500 929 355 621 337 890 624 999 999 + 1;
  • 3 552 713 678 800 500 929 355 621 337 890 624 999 999 ÷ 2 = 1 776 356 839 400 250 464 677 810 668 945 312 499 999 + 1;
  • 1 776 356 839 400 250 464 677 810 668 945 312 499 999 ÷ 2 = 888 178 419 700 125 232 338 905 334 472 656 249 999 + 1;
  • 888 178 419 700 125 232 338 905 334 472 656 249 999 ÷ 2 = 444 089 209 850 062 616 169 452 667 236 328 124 999 + 1;
  • 444 089 209 850 062 616 169 452 667 236 328 124 999 ÷ 2 = 222 044 604 925 031 308 084 726 333 618 164 062 499 + 1;
  • 222 044 604 925 031 308 084 726 333 618 164 062 499 ÷ 2 = 111 022 302 462 515 654 042 363 166 809 082 031 249 + 1;
  • 111 022 302 462 515 654 042 363 166 809 082 031 249 ÷ 2 = 55 511 151 231 257 827 021 181 583 404 541 015 624 + 1;
  • 55 511 151 231 257 827 021 181 583 404 541 015 624 ÷ 2 = 27 755 575 615 628 913 510 590 791 702 270 507 812 + 0;
  • 27 755 575 615 628 913 510 590 791 702 270 507 812 ÷ 2 = 13 877 787 807 814 456 755 295 395 851 135 253 906 + 0;
  • 13 877 787 807 814 456 755 295 395 851 135 253 906 ÷ 2 = 6 938 893 903 907 228 377 647 697 925 567 626 953 + 0;
  • 6 938 893 903 907 228 377 647 697 925 567 626 953 ÷ 2 = 3 469 446 951 953 614 188 823 848 962 783 813 476 + 1;
  • 3 469 446 951 953 614 188 823 848 962 783 813 476 ÷ 2 = 1 734 723 475 976 807 094 411 924 481 391 906 738 + 0;
  • 1 734 723 475 976 807 094 411 924 481 391 906 738 ÷ 2 = 867 361 737 988 403 547 205 962 240 695 953 369 + 0;
  • 867 361 737 988 403 547 205 962 240 695 953 369 ÷ 2 = 433 680 868 994 201 773 602 981 120 347 976 684 + 1;
  • 433 680 868 994 201 773 602 981 120 347 976 684 ÷ 2 = 216 840 434 497 100 886 801 490 560 173 988 342 + 0;
  • 216 840 434 497 100 886 801 490 560 173 988 342 ÷ 2 = 108 420 217 248 550 443 400 745 280 086 994 171 + 0;
  • 108 420 217 248 550 443 400 745 280 086 994 171 ÷ 2 = 54 210 108 624 275 221 700 372 640 043 497 085 + 1;
  • 54 210 108 624 275 221 700 372 640 043 497 085 ÷ 2 = 27 105 054 312 137 610 850 186 320 021 748 542 + 1;
  • 27 105 054 312 137 610 850 186 320 021 748 542 ÷ 2 = 13 552 527 156 068 805 425 093 160 010 874 271 + 0;
  • 13 552 527 156 068 805 425 093 160 010 874 271 ÷ 2 = 6 776 263 578 034 402 712 546 580 005 437 135 + 1;
  • 6 776 263 578 034 402 712 546 580 005 437 135 ÷ 2 = 3 388 131 789 017 201 356 273 290 002 718 567 + 1;
  • 3 388 131 789 017 201 356 273 290 002 718 567 ÷ 2 = 1 694 065 894 508 600 678 136 645 001 359 283 + 1;
  • 1 694 065 894 508 600 678 136 645 001 359 283 ÷ 2 = 847 032 947 254 300 339 068 322 500 679 641 + 1;
  • 847 032 947 254 300 339 068 322 500 679 641 ÷ 2 = 423 516 473 627 150 169 534 161 250 339 820 + 1;
  • 423 516 473 627 150 169 534 161 250 339 820 ÷ 2 = 211 758 236 813 575 084 767 080 625 169 910 + 0;
  • 211 758 236 813 575 084 767 080 625 169 910 ÷ 2 = 105 879 118 406 787 542 383 540 312 584 955 + 0;
  • 105 879 118 406 787 542 383 540 312 584 955 ÷ 2 = 52 939 559 203 393 771 191 770 156 292 477 + 1;
  • 52 939 559 203 393 771 191 770 156 292 477 ÷ 2 = 26 469 779 601 696 885 595 885 078 146 238 + 1;
  • 26 469 779 601 696 885 595 885 078 146 238 ÷ 2 = 13 234 889 800 848 442 797 942 539 073 119 + 0;
  • 13 234 889 800 848 442 797 942 539 073 119 ÷ 2 = 6 617 444 900 424 221 398 971 269 536 559 + 1;
  • 6 617 444 900 424 221 398 971 269 536 559 ÷ 2 = 3 308 722 450 212 110 699 485 634 768 279 + 1;
  • 3 308 722 450 212 110 699 485 634 768 279 ÷ 2 = 1 654 361 225 106 055 349 742 817 384 139 + 1;
  • 1 654 361 225 106 055 349 742 817 384 139 ÷ 2 = 827 180 612 553 027 674 871 408 692 069 + 1;
  • 827 180 612 553 027 674 871 408 692 069 ÷ 2 = 413 590 306 276 513 837 435 704 346 034 + 1;
  • 413 590 306 276 513 837 435 704 346 034 ÷ 2 = 206 795 153 138 256 918 717 852 173 017 + 0;
  • 206 795 153 138 256 918 717 852 173 017 ÷ 2 = 103 397 576 569 128 459 358 926 086 508 + 1;
  • 103 397 576 569 128 459 358 926 086 508 ÷ 2 = 51 698 788 284 564 229 679 463 043 254 + 0;
  • 51 698 788 284 564 229 679 463 043 254 ÷ 2 = 25 849 394 142 282 114 839 731 521 627 + 0;
  • 25 849 394 142 282 114 839 731 521 627 ÷ 2 = 12 924 697 071 141 057 419 865 760 813 + 1;
  • 12 924 697 071 141 057 419 865 760 813 ÷ 2 = 6 462 348 535 570 528 709 932 880 406 + 1;
  • 6 462 348 535 570 528 709 932 880 406 ÷ 2 = 3 231 174 267 785 264 354 966 440 203 + 0;
  • 3 231 174 267 785 264 354 966 440 203 ÷ 2 = 1 615 587 133 892 632 177 483 220 101 + 1;
  • 1 615 587 133 892 632 177 483 220 101 ÷ 2 = 807 793 566 946 316 088 741 610 050 + 1;
  • 807 793 566 946 316 088 741 610 050 ÷ 2 = 403 896 783 473 158 044 370 805 025 + 0;
  • 403 896 783 473 158 044 370 805 025 ÷ 2 = 201 948 391 736 579 022 185 402 512 + 1;
  • 201 948 391 736 579 022 185 402 512 ÷ 2 = 100 974 195 868 289 511 092 701 256 + 0;
  • 100 974 195 868 289 511 092 701 256 ÷ 2 = 50 487 097 934 144 755 546 350 628 + 0;
  • 50 487 097 934 144 755 546 350 628 ÷ 2 = 25 243 548 967 072 377 773 175 314 + 0;
  • 25 243 548 967 072 377 773 175 314 ÷ 2 = 12 621 774 483 536 188 886 587 657 + 0;
  • 12 621 774 483 536 188 886 587 657 ÷ 2 = 6 310 887 241 768 094 443 293 828 + 1;
  • 6 310 887 241 768 094 443 293 828 ÷ 2 = 3 155 443 620 884 047 221 646 914 + 0;
  • 3 155 443 620 884 047 221 646 914 ÷ 2 = 1 577 721 810 442 023 610 823 457 + 0;
  • 1 577 721 810 442 023 610 823 457 ÷ 2 = 788 860 905 221 011 805 411 728 + 1;
  • 788 860 905 221 011 805 411 728 ÷ 2 = 394 430 452 610 505 902 705 864 + 0;
  • 394 430 452 610 505 902 705 864 ÷ 2 = 197 215 226 305 252 951 352 932 + 0;
  • 197 215 226 305 252 951 352 932 ÷ 2 = 98 607 613 152 626 475 676 466 + 0;
  • 98 607 613 152 626 475 676 466 ÷ 2 = 49 303 806 576 313 237 838 233 + 0;
  • 49 303 806 576 313 237 838 233 ÷ 2 = 24 651 903 288 156 618 919 116 + 1;
  • 24 651 903 288 156 618 919 116 ÷ 2 = 12 325 951 644 078 309 459 558 + 0;
  • 12 325 951 644 078 309 459 558 ÷ 2 = 6 162 975 822 039 154 729 779 + 0;
  • 6 162 975 822 039 154 729 779 ÷ 2 = 3 081 487 911 019 577 364 889 + 1;
  • 3 081 487 911 019 577 364 889 ÷ 2 = 1 540 743 955 509 788 682 444 + 1;
  • 1 540 743 955 509 788 682 444 ÷ 2 = 770 371 977 754 894 341 222 + 0;
  • 770 371 977 754 894 341 222 ÷ 2 = 385 185 988 877 447 170 611 + 0;
  • 385 185 988 877 447 170 611 ÷ 2 = 192 592 994 438 723 585 305 + 1;
  • 192 592 994 438 723 585 305 ÷ 2 = 96 296 497 219 361 792 652 + 1;
  • 96 296 497 219 361 792 652 ÷ 2 = 48 148 248 609 680 896 326 + 0;
  • 48 148 248 609 680 896 326 ÷ 2 = 24 074 124 304 840 448 163 + 0;
  • 24 074 124 304 840 448 163 ÷ 2 = 12 037 062 152 420 224 081 + 1;
  • 12 037 062 152 420 224 081 ÷ 2 = 6 018 531 076 210 112 040 + 1;
  • 6 018 531 076 210 112 040 ÷ 2 = 3 009 265 538 105 056 020 + 0;
  • 3 009 265 538 105 056 020 ÷ 2 = 1 504 632 769 052 528 010 + 0;
  • 1 504 632 769 052 528 010 ÷ 2 = 752 316 384 526 264 005 + 0;
  • 752 316 384 526 264 005 ÷ 2 = 376 158 192 263 132 002 + 1;
  • 376 158 192 263 132 002 ÷ 2 = 188 079 096 131 566 001 + 0;
  • 188 079 096 131 566 001 ÷ 2 = 94 039 548 065 783 000 + 1;
  • 94 039 548 065 783 000 ÷ 2 = 47 019 774 032 891 500 + 0;
  • 47 019 774 032 891 500 ÷ 2 = 23 509 887 016 445 750 + 0;
  • 23 509 887 016 445 750 ÷ 2 = 11 754 943 508 222 875 + 0;
  • 11 754 943 508 222 875 ÷ 2 = 5 877 471 754 111 437 + 1;
  • 5 877 471 754 111 437 ÷ 2 = 2 938 735 877 055 718 + 1;
  • 2 938 735 877 055 718 ÷ 2 = 1 469 367 938 527 859 + 0;
  • 1 469 367 938 527 859 ÷ 2 = 734 683 969 263 929 + 1;
  • 734 683 969 263 929 ÷ 2 = 367 341 984 631 964 + 1;
  • 367 341 984 631 964 ÷ 2 = 183 670 992 315 982 + 0;
  • 183 670 992 315 982 ÷ 2 = 91 835 496 157 991 + 0;
  • 91 835 496 157 991 ÷ 2 = 45 917 748 078 995 + 1;
  • 45 917 748 078 995 ÷ 2 = 22 958 874 039 497 + 1;
  • 22 958 874 039 497 ÷ 2 = 11 479 437 019 748 + 1;
  • 11 479 437 019 748 ÷ 2 = 5 739 718 509 874 + 0;
  • 5 739 718 509 874 ÷ 2 = 2 869 859 254 937 + 0;
  • 2 869 859 254 937 ÷ 2 = 1 434 929 627 468 + 1;
  • 1 434 929 627 468 ÷ 2 = 717 464 813 734 + 0;
  • 717 464 813 734 ÷ 2 = 358 732 406 867 + 0;
  • 358 732 406 867 ÷ 2 = 179 366 203 433 + 1;
  • 179 366 203 433 ÷ 2 = 89 683 101 716 + 1;
  • 89 683 101 716 ÷ 2 = 44 841 550 858 + 0;
  • 44 841 550 858 ÷ 2 = 22 420 775 429 + 0;
  • 22 420 775 429 ÷ 2 = 11 210 387 714 + 1;
  • 11 210 387 714 ÷ 2 = 5 605 193 857 + 0;
  • 5 605 193 857 ÷ 2 = 2 802 596 928 + 1;
  • 2 802 596 928 ÷ 2 = 1 401 298 464 + 0;
  • 1 401 298 464 ÷ 2 = 700 649 232 + 0;
  • 700 649 232 ÷ 2 = 350 324 616 + 0;
  • 350 324 616 ÷ 2 = 175 162 308 + 0;
  • 175 162 308 ÷ 2 = 87 581 154 + 0;
  • 87 581 154 ÷ 2 = 43 790 577 + 0;
  • 43 790 577 ÷ 2 = 21 895 288 + 1;
  • 21 895 288 ÷ 2 = 10 947 644 + 0;
  • 10 947 644 ÷ 2 = 5 473 822 + 0;
  • 5 473 822 ÷ 2 = 2 736 911 + 0;
  • 2 736 911 ÷ 2 = 1 368 455 + 1;
  • 1 368 455 ÷ 2 = 684 227 + 1;
  • 684 227 ÷ 2 = 342 113 + 1;
  • 342 113 ÷ 2 = 171 056 + 1;
  • 171 056 ÷ 2 = 85 528 + 0;
  • 85 528 ÷ 2 = 42 764 + 0;
  • 42 764 ÷ 2 = 21 382 + 0;
  • 21 382 ÷ 2 = 10 691 + 0;
  • 10 691 ÷ 2 = 5 345 + 1;
  • 5 345 ÷ 2 = 2 672 + 1;
  • 2 672 ÷ 2 = 1 336 + 0;
  • 1 336 ÷ 2 = 668 + 0;
  • 668 ÷ 2 = 334 + 0;
  • 334 ÷ 2 = 167 + 0;
  • 167 ÷ 2 = 83 + 1;
  • 83 ÷ 2 = 41 + 1;
  • 41 ÷ 2 = 20 + 1;
  • 20 ÷ 2 = 10 + 0;
  • 10 ÷ 2 = 5 + 0;
  • 5 ÷ 2 = 2 + 1;
  • 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.

999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 496(10) =


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


3. Normalize the binary representation of the number.

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


999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 496(10) =


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


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


1.0100 1110 0001 1000 0111 1000 1000 0001 0100 1100 1001 1100 1101 1000 1010 0011 0011 0011 0010 0001 0010 0001 0110 1100 1011 1110 1100 1111 1011 0010 0100 0111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1100 0001 000(2) × 2179


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


Mantissa (not normalized):
1.0100 1110 0001 1000 0111 1000 1000 0001 0100 1100 1001 1100 1101 1000 1010 0011 0011 0011 0010 0001 0010 0001 0110 1100 1011 1110 1100 1111 1011 0010 0100 0111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1100 0001 000


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


179 + 2(11-1) - 1 =


(179 + 1 023)(10) =


1 202(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 202 ÷ 2 = 601 + 0;
  • 601 ÷ 2 = 300 + 1;
  • 300 ÷ 2 = 150 + 0;
  • 150 ÷ 2 = 75 + 0;
  • 75 ÷ 2 = 37 + 1;
  • 37 ÷ 2 = 18 + 1;
  • 18 ÷ 2 = 9 + 0;
  • 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) =


1202(10) =


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


0100 1110 0001 1000 0111 1000 1000 0001 0100 1100 1001 1100 1101


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 1011 0010


Mantissa (52 bits) =
0100 1110 0001 1000 0111 1000 1000 0001 0100 1100 1001 1100 1101


Decimal number 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 496 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 100 1011 0010 - 0100 1110 0001 1000 0111 1000 1000 0001 0100 1100 1001 1100 1101


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