10 100 011 110 100 010 011 110 101 010 100 111 010 101 011 111 101 537 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 10 100 011 110 100 010 011 110 101 010 100 111 010 101 011 111 101 537(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
10 100 011 110 100 010 011 110 101 010 100 111 010 101 011 111 101 537(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;
  • 10 100 011 110 100 010 011 110 101 010 100 111 010 101 011 111 101 537 ÷ 2 = 5 050 005 555 050 005 005 555 050 505 050 055 505 050 505 555 550 768 + 1;
  • 5 050 005 555 050 005 005 555 050 505 050 055 505 050 505 555 550 768 ÷ 2 = 2 525 002 777 525 002 502 777 525 252 525 027 752 525 252 777 775 384 + 0;
  • 2 525 002 777 525 002 502 777 525 252 525 027 752 525 252 777 775 384 ÷ 2 = 1 262 501 388 762 501 251 388 762 626 262 513 876 262 626 388 887 692 + 0;
  • 1 262 501 388 762 501 251 388 762 626 262 513 876 262 626 388 887 692 ÷ 2 = 631 250 694 381 250 625 694 381 313 131 256 938 131 313 194 443 846 + 0;
  • 631 250 694 381 250 625 694 381 313 131 256 938 131 313 194 443 846 ÷ 2 = 315 625 347 190 625 312 847 190 656 565 628 469 065 656 597 221 923 + 0;
  • 315 625 347 190 625 312 847 190 656 565 628 469 065 656 597 221 923 ÷ 2 = 157 812 673 595 312 656 423 595 328 282 814 234 532 828 298 610 961 + 1;
  • 157 812 673 595 312 656 423 595 328 282 814 234 532 828 298 610 961 ÷ 2 = 78 906 336 797 656 328 211 797 664 141 407 117 266 414 149 305 480 + 1;
  • 78 906 336 797 656 328 211 797 664 141 407 117 266 414 149 305 480 ÷ 2 = 39 453 168 398 828 164 105 898 832 070 703 558 633 207 074 652 740 + 0;
  • 39 453 168 398 828 164 105 898 832 070 703 558 633 207 074 652 740 ÷ 2 = 19 726 584 199 414 082 052 949 416 035 351 779 316 603 537 326 370 + 0;
  • 19 726 584 199 414 082 052 949 416 035 351 779 316 603 537 326 370 ÷ 2 = 9 863 292 099 707 041 026 474 708 017 675 889 658 301 768 663 185 + 0;
  • 9 863 292 099 707 041 026 474 708 017 675 889 658 301 768 663 185 ÷ 2 = 4 931 646 049 853 520 513 237 354 008 837 944 829 150 884 331 592 + 1;
  • 4 931 646 049 853 520 513 237 354 008 837 944 829 150 884 331 592 ÷ 2 = 2 465 823 024 926 760 256 618 677 004 418 972 414 575 442 165 796 + 0;
  • 2 465 823 024 926 760 256 618 677 004 418 972 414 575 442 165 796 ÷ 2 = 1 232 911 512 463 380 128 309 338 502 209 486 207 287 721 082 898 + 0;
  • 1 232 911 512 463 380 128 309 338 502 209 486 207 287 721 082 898 ÷ 2 = 616 455 756 231 690 064 154 669 251 104 743 103 643 860 541 449 + 0;
  • 616 455 756 231 690 064 154 669 251 104 743 103 643 860 541 449 ÷ 2 = 308 227 878 115 845 032 077 334 625 552 371 551 821 930 270 724 + 1;
  • 308 227 878 115 845 032 077 334 625 552 371 551 821 930 270 724 ÷ 2 = 154 113 939 057 922 516 038 667 312 776 185 775 910 965 135 362 + 0;
  • 154 113 939 057 922 516 038 667 312 776 185 775 910 965 135 362 ÷ 2 = 77 056 969 528 961 258 019 333 656 388 092 887 955 482 567 681 + 0;
  • 77 056 969 528 961 258 019 333 656 388 092 887 955 482 567 681 ÷ 2 = 38 528 484 764 480 629 009 666 828 194 046 443 977 741 283 840 + 1;
  • 38 528 484 764 480 629 009 666 828 194 046 443 977 741 283 840 ÷ 2 = 19 264 242 382 240 314 504 833 414 097 023 221 988 870 641 920 + 0;
  • 19 264 242 382 240 314 504 833 414 097 023 221 988 870 641 920 ÷ 2 = 9 632 121 191 120 157 252 416 707 048 511 610 994 435 320 960 + 0;
  • 9 632 121 191 120 157 252 416 707 048 511 610 994 435 320 960 ÷ 2 = 4 816 060 595 560 078 626 208 353 524 255 805 497 217 660 480 + 0;
  • 4 816 060 595 560 078 626 208 353 524 255 805 497 217 660 480 ÷ 2 = 2 408 030 297 780 039 313 104 176 762 127 902 748 608 830 240 + 0;
  • 2 408 030 297 780 039 313 104 176 762 127 902 748 608 830 240 ÷ 2 = 1 204 015 148 890 019 656 552 088 381 063 951 374 304 415 120 + 0;
  • 1 204 015 148 890 019 656 552 088 381 063 951 374 304 415 120 ÷ 2 = 602 007 574 445 009 828 276 044 190 531 975 687 152 207 560 + 0;
  • 602 007 574 445 009 828 276 044 190 531 975 687 152 207 560 ÷ 2 = 301 003 787 222 504 914 138 022 095 265 987 843 576 103 780 + 0;
  • 301 003 787 222 504 914 138 022 095 265 987 843 576 103 780 ÷ 2 = 150 501 893 611 252 457 069 011 047 632 993 921 788 051 890 + 0;
  • 150 501 893 611 252 457 069 011 047 632 993 921 788 051 890 ÷ 2 = 75 250 946 805 626 228 534 505 523 816 496 960 894 025 945 + 0;
  • 75 250 946 805 626 228 534 505 523 816 496 960 894 025 945 ÷ 2 = 37 625 473 402 813 114 267 252 761 908 248 480 447 012 972 + 1;
  • 37 625 473 402 813 114 267 252 761 908 248 480 447 012 972 ÷ 2 = 18 812 736 701 406 557 133 626 380 954 124 240 223 506 486 + 0;
  • 18 812 736 701 406 557 133 626 380 954 124 240 223 506 486 ÷ 2 = 9 406 368 350 703 278 566 813 190 477 062 120 111 753 243 + 0;
  • 9 406 368 350 703 278 566 813 190 477 062 120 111 753 243 ÷ 2 = 4 703 184 175 351 639 283 406 595 238 531 060 055 876 621 + 1;
  • 4 703 184 175 351 639 283 406 595 238 531 060 055 876 621 ÷ 2 = 2 351 592 087 675 819 641 703 297 619 265 530 027 938 310 + 1;
  • 2 351 592 087 675 819 641 703 297 619 265 530 027 938 310 ÷ 2 = 1 175 796 043 837 909 820 851 648 809 632 765 013 969 155 + 0;
  • 1 175 796 043 837 909 820 851 648 809 632 765 013 969 155 ÷ 2 = 587 898 021 918 954 910 425 824 404 816 382 506 984 577 + 1;
  • 587 898 021 918 954 910 425 824 404 816 382 506 984 577 ÷ 2 = 293 949 010 959 477 455 212 912 202 408 191 253 492 288 + 1;
  • 293 949 010 959 477 455 212 912 202 408 191 253 492 288 ÷ 2 = 146 974 505 479 738 727 606 456 101 204 095 626 746 144 + 0;
  • 146 974 505 479 738 727 606 456 101 204 095 626 746 144 ÷ 2 = 73 487 252 739 869 363 803 228 050 602 047 813 373 072 + 0;
  • 73 487 252 739 869 363 803 228 050 602 047 813 373 072 ÷ 2 = 36 743 626 369 934 681 901 614 025 301 023 906 686 536 + 0;
  • 36 743 626 369 934 681 901 614 025 301 023 906 686 536 ÷ 2 = 18 371 813 184 967 340 950 807 012 650 511 953 343 268 + 0;
  • 18 371 813 184 967 340 950 807 012 650 511 953 343 268 ÷ 2 = 9 185 906 592 483 670 475 403 506 325 255 976 671 634 + 0;
  • 9 185 906 592 483 670 475 403 506 325 255 976 671 634 ÷ 2 = 4 592 953 296 241 835 237 701 753 162 627 988 335 817 + 0;
  • 4 592 953 296 241 835 237 701 753 162 627 988 335 817 ÷ 2 = 2 296 476 648 120 917 618 850 876 581 313 994 167 908 + 1;
  • 2 296 476 648 120 917 618 850 876 581 313 994 167 908 ÷ 2 = 1 148 238 324 060 458 809 425 438 290 656 997 083 954 + 0;
  • 1 148 238 324 060 458 809 425 438 290 656 997 083 954 ÷ 2 = 574 119 162 030 229 404 712 719 145 328 498 541 977 + 0;
  • 574 119 162 030 229 404 712 719 145 328 498 541 977 ÷ 2 = 287 059 581 015 114 702 356 359 572 664 249 270 988 + 1;
  • 287 059 581 015 114 702 356 359 572 664 249 270 988 ÷ 2 = 143 529 790 507 557 351 178 179 786 332 124 635 494 + 0;
  • 143 529 790 507 557 351 178 179 786 332 124 635 494 ÷ 2 = 71 764 895 253 778 675 589 089 893 166 062 317 747 + 0;
  • 71 764 895 253 778 675 589 089 893 166 062 317 747 ÷ 2 = 35 882 447 626 889 337 794 544 946 583 031 158 873 + 1;
  • 35 882 447 626 889 337 794 544 946 583 031 158 873 ÷ 2 = 17 941 223 813 444 668 897 272 473 291 515 579 436 + 1;
  • 17 941 223 813 444 668 897 272 473 291 515 579 436 ÷ 2 = 8 970 611 906 722 334 448 636 236 645 757 789 718 + 0;
  • 8 970 611 906 722 334 448 636 236 645 757 789 718 ÷ 2 = 4 485 305 953 361 167 224 318 118 322 878 894 859 + 0;
  • 4 485 305 953 361 167 224 318 118 322 878 894 859 ÷ 2 = 2 242 652 976 680 583 612 159 059 161 439 447 429 + 1;
  • 2 242 652 976 680 583 612 159 059 161 439 447 429 ÷ 2 = 1 121 326 488 340 291 806 079 529 580 719 723 714 + 1;
  • 1 121 326 488 340 291 806 079 529 580 719 723 714 ÷ 2 = 560 663 244 170 145 903 039 764 790 359 861 857 + 0;
  • 560 663 244 170 145 903 039 764 790 359 861 857 ÷ 2 = 280 331 622 085 072 951 519 882 395 179 930 928 + 1;
  • 280 331 622 085 072 951 519 882 395 179 930 928 ÷ 2 = 140 165 811 042 536 475 759 941 197 589 965 464 + 0;
  • 140 165 811 042 536 475 759 941 197 589 965 464 ÷ 2 = 70 082 905 521 268 237 879 970 598 794 982 732 + 0;
  • 70 082 905 521 268 237 879 970 598 794 982 732 ÷ 2 = 35 041 452 760 634 118 939 985 299 397 491 366 + 0;
  • 35 041 452 760 634 118 939 985 299 397 491 366 ÷ 2 = 17 520 726 380 317 059 469 992 649 698 745 683 + 0;
  • 17 520 726 380 317 059 469 992 649 698 745 683 ÷ 2 = 8 760 363 190 158 529 734 996 324 849 372 841 + 1;
  • 8 760 363 190 158 529 734 996 324 849 372 841 ÷ 2 = 4 380 181 595 079 264 867 498 162 424 686 420 + 1;
  • 4 380 181 595 079 264 867 498 162 424 686 420 ÷ 2 = 2 190 090 797 539 632 433 749 081 212 343 210 + 0;
  • 2 190 090 797 539 632 433 749 081 212 343 210 ÷ 2 = 1 095 045 398 769 816 216 874 540 606 171 605 + 0;
  • 1 095 045 398 769 816 216 874 540 606 171 605 ÷ 2 = 547 522 699 384 908 108 437 270 303 085 802 + 1;
  • 547 522 699 384 908 108 437 270 303 085 802 ÷ 2 = 273 761 349 692 454 054 218 635 151 542 901 + 0;
  • 273 761 349 692 454 054 218 635 151 542 901 ÷ 2 = 136 880 674 846 227 027 109 317 575 771 450 + 1;
  • 136 880 674 846 227 027 109 317 575 771 450 ÷ 2 = 68 440 337 423 113 513 554 658 787 885 725 + 0;
  • 68 440 337 423 113 513 554 658 787 885 725 ÷ 2 = 34 220 168 711 556 756 777 329 393 942 862 + 1;
  • 34 220 168 711 556 756 777 329 393 942 862 ÷ 2 = 17 110 084 355 778 378 388 664 696 971 431 + 0;
  • 17 110 084 355 778 378 388 664 696 971 431 ÷ 2 = 8 555 042 177 889 189 194 332 348 485 715 + 1;
  • 8 555 042 177 889 189 194 332 348 485 715 ÷ 2 = 4 277 521 088 944 594 597 166 174 242 857 + 1;
  • 4 277 521 088 944 594 597 166 174 242 857 ÷ 2 = 2 138 760 544 472 297 298 583 087 121 428 + 1;
  • 2 138 760 544 472 297 298 583 087 121 428 ÷ 2 = 1 069 380 272 236 148 649 291 543 560 714 + 0;
  • 1 069 380 272 236 148 649 291 543 560 714 ÷ 2 = 534 690 136 118 074 324 645 771 780 357 + 0;
  • 534 690 136 118 074 324 645 771 780 357 ÷ 2 = 267 345 068 059 037 162 322 885 890 178 + 1;
  • 267 345 068 059 037 162 322 885 890 178 ÷ 2 = 133 672 534 029 518 581 161 442 945 089 + 0;
  • 133 672 534 029 518 581 161 442 945 089 ÷ 2 = 66 836 267 014 759 290 580 721 472 544 + 1;
  • 66 836 267 014 759 290 580 721 472 544 ÷ 2 = 33 418 133 507 379 645 290 360 736 272 + 0;
  • 33 418 133 507 379 645 290 360 736 272 ÷ 2 = 16 709 066 753 689 822 645 180 368 136 + 0;
  • 16 709 066 753 689 822 645 180 368 136 ÷ 2 = 8 354 533 376 844 911 322 590 184 068 + 0;
  • 8 354 533 376 844 911 322 590 184 068 ÷ 2 = 4 177 266 688 422 455 661 295 092 034 + 0;
  • 4 177 266 688 422 455 661 295 092 034 ÷ 2 = 2 088 633 344 211 227 830 647 546 017 + 0;
  • 2 088 633 344 211 227 830 647 546 017 ÷ 2 = 1 044 316 672 105 613 915 323 773 008 + 1;
  • 1 044 316 672 105 613 915 323 773 008 ÷ 2 = 522 158 336 052 806 957 661 886 504 + 0;
  • 522 158 336 052 806 957 661 886 504 ÷ 2 = 261 079 168 026 403 478 830 943 252 + 0;
  • 261 079 168 026 403 478 830 943 252 ÷ 2 = 130 539 584 013 201 739 415 471 626 + 0;
  • 130 539 584 013 201 739 415 471 626 ÷ 2 = 65 269 792 006 600 869 707 735 813 + 0;
  • 65 269 792 006 600 869 707 735 813 ÷ 2 = 32 634 896 003 300 434 853 867 906 + 1;
  • 32 634 896 003 300 434 853 867 906 ÷ 2 = 16 317 448 001 650 217 426 933 953 + 0;
  • 16 317 448 001 650 217 426 933 953 ÷ 2 = 8 158 724 000 825 108 713 466 976 + 1;
  • 8 158 724 000 825 108 713 466 976 ÷ 2 = 4 079 362 000 412 554 356 733 488 + 0;
  • 4 079 362 000 412 554 356 733 488 ÷ 2 = 2 039 681 000 206 277 178 366 744 + 0;
  • 2 039 681 000 206 277 178 366 744 ÷ 2 = 1 019 840 500 103 138 589 183 372 + 0;
  • 1 019 840 500 103 138 589 183 372 ÷ 2 = 509 920 250 051 569 294 591 686 + 0;
  • 509 920 250 051 569 294 591 686 ÷ 2 = 254 960 125 025 784 647 295 843 + 0;
  • 254 960 125 025 784 647 295 843 ÷ 2 = 127 480 062 512 892 323 647 921 + 1;
  • 127 480 062 512 892 323 647 921 ÷ 2 = 63 740 031 256 446 161 823 960 + 1;
  • 63 740 031 256 446 161 823 960 ÷ 2 = 31 870 015 628 223 080 911 980 + 0;
  • 31 870 015 628 223 080 911 980 ÷ 2 = 15 935 007 814 111 540 455 990 + 0;
  • 15 935 007 814 111 540 455 990 ÷ 2 = 7 967 503 907 055 770 227 995 + 0;
  • 7 967 503 907 055 770 227 995 ÷ 2 = 3 983 751 953 527 885 113 997 + 1;
  • 3 983 751 953 527 885 113 997 ÷ 2 = 1 991 875 976 763 942 556 998 + 1;
  • 1 991 875 976 763 942 556 998 ÷ 2 = 995 937 988 381 971 278 499 + 0;
  • 995 937 988 381 971 278 499 ÷ 2 = 497 968 994 190 985 639 249 + 1;
  • 497 968 994 190 985 639 249 ÷ 2 = 248 984 497 095 492 819 624 + 1;
  • 248 984 497 095 492 819 624 ÷ 2 = 124 492 248 547 746 409 812 + 0;
  • 124 492 248 547 746 409 812 ÷ 2 = 62 246 124 273 873 204 906 + 0;
  • 62 246 124 273 873 204 906 ÷ 2 = 31 123 062 136 936 602 453 + 0;
  • 31 123 062 136 936 602 453 ÷ 2 = 15 561 531 068 468 301 226 + 1;
  • 15 561 531 068 468 301 226 ÷ 2 = 7 780 765 534 234 150 613 + 0;
  • 7 780 765 534 234 150 613 ÷ 2 = 3 890 382 767 117 075 306 + 1;
  • 3 890 382 767 117 075 306 ÷ 2 = 1 945 191 383 558 537 653 + 0;
  • 1 945 191 383 558 537 653 ÷ 2 = 972 595 691 779 268 826 + 1;
  • 972 595 691 779 268 826 ÷ 2 = 486 297 845 889 634 413 + 0;
  • 486 297 845 889 634 413 ÷ 2 = 243 148 922 944 817 206 + 1;
  • 243 148 922 944 817 206 ÷ 2 = 121 574 461 472 408 603 + 0;
  • 121 574 461 472 408 603 ÷ 2 = 60 787 230 736 204 301 + 1;
  • 60 787 230 736 204 301 ÷ 2 = 30 393 615 368 102 150 + 1;
  • 30 393 615 368 102 150 ÷ 2 = 15 196 807 684 051 075 + 0;
  • 15 196 807 684 051 075 ÷ 2 = 7 598 403 842 025 537 + 1;
  • 7 598 403 842 025 537 ÷ 2 = 3 799 201 921 012 768 + 1;
  • 3 799 201 921 012 768 ÷ 2 = 1 899 600 960 506 384 + 0;
  • 1 899 600 960 506 384 ÷ 2 = 949 800 480 253 192 + 0;
  • 949 800 480 253 192 ÷ 2 = 474 900 240 126 596 + 0;
  • 474 900 240 126 596 ÷ 2 = 237 450 120 063 298 + 0;
  • 237 450 120 063 298 ÷ 2 = 118 725 060 031 649 + 0;
  • 118 725 060 031 649 ÷ 2 = 59 362 530 015 824 + 1;
  • 59 362 530 015 824 ÷ 2 = 29 681 265 007 912 + 0;
  • 29 681 265 007 912 ÷ 2 = 14 840 632 503 956 + 0;
  • 14 840 632 503 956 ÷ 2 = 7 420 316 251 978 + 0;
  • 7 420 316 251 978 ÷ 2 = 3 710 158 125 989 + 0;
  • 3 710 158 125 989 ÷ 2 = 1 855 079 062 994 + 1;
  • 1 855 079 062 994 ÷ 2 = 927 539 531 497 + 0;
  • 927 539 531 497 ÷ 2 = 463 769 765 748 + 1;
  • 463 769 765 748 ÷ 2 = 231 884 882 874 + 0;
  • 231 884 882 874 ÷ 2 = 115 942 441 437 + 0;
  • 115 942 441 437 ÷ 2 = 57 971 220 718 + 1;
  • 57 971 220 718 ÷ 2 = 28 985 610 359 + 0;
  • 28 985 610 359 ÷ 2 = 14 492 805 179 + 1;
  • 14 492 805 179 ÷ 2 = 7 246 402 589 + 1;
  • 7 246 402 589 ÷ 2 = 3 623 201 294 + 1;
  • 3 623 201 294 ÷ 2 = 1 811 600 647 + 0;
  • 1 811 600 647 ÷ 2 = 905 800 323 + 1;
  • 905 800 323 ÷ 2 = 452 900 161 + 1;
  • 452 900 161 ÷ 2 = 226 450 080 + 1;
  • 226 450 080 ÷ 2 = 113 225 040 + 0;
  • 113 225 040 ÷ 2 = 56 612 520 + 0;
  • 56 612 520 ÷ 2 = 28 306 260 + 0;
  • 28 306 260 ÷ 2 = 14 153 130 + 0;
  • 14 153 130 ÷ 2 = 7 076 565 + 0;
  • 7 076 565 ÷ 2 = 3 538 282 + 1;
  • 3 538 282 ÷ 2 = 1 769 141 + 0;
  • 1 769 141 ÷ 2 = 884 570 + 1;
  • 884 570 ÷ 2 = 442 285 + 0;
  • 442 285 ÷ 2 = 221 142 + 1;
  • 221 142 ÷ 2 = 110 571 + 0;
  • 110 571 ÷ 2 = 55 285 + 1;
  • 55 285 ÷ 2 = 27 642 + 1;
  • 27 642 ÷ 2 = 13 821 + 0;
  • 13 821 ÷ 2 = 6 910 + 1;
  • 6 910 ÷ 2 = 3 455 + 0;
  • 3 455 ÷ 2 = 1 727 + 1;
  • 1 727 ÷ 2 = 863 + 1;
  • 863 ÷ 2 = 431 + 1;
  • 431 ÷ 2 = 215 + 1;
  • 215 ÷ 2 = 107 + 1;
  • 107 ÷ 2 = 53 + 1;
  • 53 ÷ 2 = 26 + 1;
  • 26 ÷ 2 = 13 + 0;
  • 13 ÷ 2 = 6 + 1;
  • 6 ÷ 2 = 3 + 0;
  • 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.

10 100 011 110 100 010 011 110 101 010 100 111 010 101 011 111 101 537(10) =


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


3. Normalize the binary representation of the number.

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


10 100 011 110 100 010 011 110 101 010 100 111 010 101 011 111 101 537(10) =


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


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


1.1010 1111 1110 1011 0101 0100 0001 1101 1101 0010 1000 0100 0001 1011 0101 0101 0001 1011 0001 1000 0010 1000 0100 0001 0100 1110 1010 1001 1000 0101 1001 1001 0010 0000 0110 1100 1000 0000 0010 0100 0100 0110 0001(2) × 2172


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


Mantissa (not normalized):
1.1010 1111 1110 1011 0101 0100 0001 1101 1101 0010 1000 0100 0001 1011 0101 0101 0001 1011 0001 1000 0010 1000 0100 0001 0100 1110 1010 1001 1000 0101 1001 1001 0010 0000 0110 1100 1000 0000 0010 0100 0100 0110 0001


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


172 + 2(11-1) - 1 =


(172 + 1 023)(10) =


1 195(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 195 ÷ 2 = 597 + 1;
  • 597 ÷ 2 = 298 + 1;
  • 298 ÷ 2 = 149 + 0;
  • 149 ÷ 2 = 74 + 1;
  • 74 ÷ 2 = 37 + 0;
  • 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) =


1195(10) =


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


1010 1111 1110 1011 0101 0100 0001 1101 1101 0010 1000 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 1010 1011


Mantissa (52 bits) =
1010 1111 1110 1011 0101 0100 0001 1101 1101 0010 1000 0100 0001


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

0 - 100 1010 1011 - 1010 1111 1110 1011 0101 0100 0001 1101 1101 0010 1000 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