0.000 000 000 000 000 000 000 000 000 000 64 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 0.000 000 000 000 000 000 000 000 000 000 64(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
0.000 000 000 000 000 000 000 000 000 000 64(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. First, convert to binary (in base 2) the integer part: 0.
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;
  • 0 ÷ 2 = 0 + 0;

2. Construct the base 2 representation of the integer part of the number.

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

0(10) =


0(2)


3. Convert to binary (base 2) the fractional part: 0.000 000 000 000 000 000 000 000 000 000 64.

Multiply it repeatedly by 2.


Keep track of each integer part of the results.


Stop when we get a fractional part that is equal to zero.


  • #) multiplying = integer + fractional part;
  • 1) 0.000 000 000 000 000 000 000 000 000 000 64 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 28;
  • 2) 0.000 000 000 000 000 000 000 000 000 001 28 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 002 56;
  • 3) 0.000 000 000 000 000 000 000 000 000 002 56 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 005 12;
  • 4) 0.000 000 000 000 000 000 000 000 000 005 12 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 010 24;
  • 5) 0.000 000 000 000 000 000 000 000 000 010 24 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 020 48;
  • 6) 0.000 000 000 000 000 000 000 000 000 020 48 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 040 96;
  • 7) 0.000 000 000 000 000 000 000 000 000 040 96 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 081 92;
  • 8) 0.000 000 000 000 000 000 000 000 000 081 92 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 163 84;
  • 9) 0.000 000 000 000 000 000 000 000 000 163 84 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 327 68;
  • 10) 0.000 000 000 000 000 000 000 000 000 327 68 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 655 36;
  • 11) 0.000 000 000 000 000 000 000 000 000 655 36 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 310 72;
  • 12) 0.000 000 000 000 000 000 000 000 001 310 72 × 2 = 0 + 0.000 000 000 000 000 000 000 000 002 621 44;
  • 13) 0.000 000 000 000 000 000 000 000 002 621 44 × 2 = 0 + 0.000 000 000 000 000 000 000 000 005 242 88;
  • 14) 0.000 000 000 000 000 000 000 000 005 242 88 × 2 = 0 + 0.000 000 000 000 000 000 000 000 010 485 76;
  • 15) 0.000 000 000 000 000 000 000 000 010 485 76 × 2 = 0 + 0.000 000 000 000 000 000 000 000 020 971 52;
  • 16) 0.000 000 000 000 000 000 000 000 020 971 52 × 2 = 0 + 0.000 000 000 000 000 000 000 000 041 943 04;
  • 17) 0.000 000 000 000 000 000 000 000 041 943 04 × 2 = 0 + 0.000 000 000 000 000 000 000 000 083 886 08;
  • 18) 0.000 000 000 000 000 000 000 000 083 886 08 × 2 = 0 + 0.000 000 000 000 000 000 000 000 167 772 16;
  • 19) 0.000 000 000 000 000 000 000 000 167 772 16 × 2 = 0 + 0.000 000 000 000 000 000 000 000 335 544 32;
  • 20) 0.000 000 000 000 000 000 000 000 335 544 32 × 2 = 0 + 0.000 000 000 000 000 000 000 000 671 088 64;
  • 21) 0.000 000 000 000 000 000 000 000 671 088 64 × 2 = 0 + 0.000 000 000 000 000 000 000 001 342 177 28;
  • 22) 0.000 000 000 000 000 000 000 001 342 177 28 × 2 = 0 + 0.000 000 000 000 000 000 000 002 684 354 56;
  • 23) 0.000 000 000 000 000 000 000 002 684 354 56 × 2 = 0 + 0.000 000 000 000 000 000 000 005 368 709 12;
  • 24) 0.000 000 000 000 000 000 000 005 368 709 12 × 2 = 0 + 0.000 000 000 000 000 000 000 010 737 418 24;
  • 25) 0.000 000 000 000 000 000 000 010 737 418 24 × 2 = 0 + 0.000 000 000 000 000 000 000 021 474 836 48;
  • 26) 0.000 000 000 000 000 000 000 021 474 836 48 × 2 = 0 + 0.000 000 000 000 000 000 000 042 949 672 96;
  • 27) 0.000 000 000 000 000 000 000 042 949 672 96 × 2 = 0 + 0.000 000 000 000 000 000 000 085 899 345 92;
  • 28) 0.000 000 000 000 000 000 000 085 899 345 92 × 2 = 0 + 0.000 000 000 000 000 000 000 171 798 691 84;
  • 29) 0.000 000 000 000 000 000 000 171 798 691 84 × 2 = 0 + 0.000 000 000 000 000 000 000 343 597 383 68;
  • 30) 0.000 000 000 000 000 000 000 343 597 383 68 × 2 = 0 + 0.000 000 000 000 000 000 000 687 194 767 36;
  • 31) 0.000 000 000 000 000 000 000 687 194 767 36 × 2 = 0 + 0.000 000 000 000 000 000 001 374 389 534 72;
  • 32) 0.000 000 000 000 000 000 001 374 389 534 72 × 2 = 0 + 0.000 000 000 000 000 000 002 748 779 069 44;
  • 33) 0.000 000 000 000 000 000 002 748 779 069 44 × 2 = 0 + 0.000 000 000 000 000 000 005 497 558 138 88;
  • 34) 0.000 000 000 000 000 000 005 497 558 138 88 × 2 = 0 + 0.000 000 000 000 000 000 010 995 116 277 76;
  • 35) 0.000 000 000 000 000 000 010 995 116 277 76 × 2 = 0 + 0.000 000 000 000 000 000 021 990 232 555 52;
  • 36) 0.000 000 000 000 000 000 021 990 232 555 52 × 2 = 0 + 0.000 000 000 000 000 000 043 980 465 111 04;
  • 37) 0.000 000 000 000 000 000 043 980 465 111 04 × 2 = 0 + 0.000 000 000 000 000 000 087 960 930 222 08;
  • 38) 0.000 000 000 000 000 000 087 960 930 222 08 × 2 = 0 + 0.000 000 000 000 000 000 175 921 860 444 16;
  • 39) 0.000 000 000 000 000 000 175 921 860 444 16 × 2 = 0 + 0.000 000 000 000 000 000 351 843 720 888 32;
  • 40) 0.000 000 000 000 000 000 351 843 720 888 32 × 2 = 0 + 0.000 000 000 000 000 000 703 687 441 776 64;
  • 41) 0.000 000 000 000 000 000 703 687 441 776 64 × 2 = 0 + 0.000 000 000 000 000 001 407 374 883 553 28;
  • 42) 0.000 000 000 000 000 001 407 374 883 553 28 × 2 = 0 + 0.000 000 000 000 000 002 814 749 767 106 56;
  • 43) 0.000 000 000 000 000 002 814 749 767 106 56 × 2 = 0 + 0.000 000 000 000 000 005 629 499 534 213 12;
  • 44) 0.000 000 000 000 000 005 629 499 534 213 12 × 2 = 0 + 0.000 000 000 000 000 011 258 999 068 426 24;
  • 45) 0.000 000 000 000 000 011 258 999 068 426 24 × 2 = 0 + 0.000 000 000 000 000 022 517 998 136 852 48;
  • 46) 0.000 000 000 000 000 022 517 998 136 852 48 × 2 = 0 + 0.000 000 000 000 000 045 035 996 273 704 96;
  • 47) 0.000 000 000 000 000 045 035 996 273 704 96 × 2 = 0 + 0.000 000 000 000 000 090 071 992 547 409 92;
  • 48) 0.000 000 000 000 000 090 071 992 547 409 92 × 2 = 0 + 0.000 000 000 000 000 180 143 985 094 819 84;
  • 49) 0.000 000 000 000 000 180 143 985 094 819 84 × 2 = 0 + 0.000 000 000 000 000 360 287 970 189 639 68;
  • 50) 0.000 000 000 000 000 360 287 970 189 639 68 × 2 = 0 + 0.000 000 000 000 000 720 575 940 379 279 36;
  • 51) 0.000 000 000 000 000 720 575 940 379 279 36 × 2 = 0 + 0.000 000 000 000 001 441 151 880 758 558 72;
  • 52) 0.000 000 000 000 001 441 151 880 758 558 72 × 2 = 0 + 0.000 000 000 000 002 882 303 761 517 117 44;
  • 53) 0.000 000 000 000 002 882 303 761 517 117 44 × 2 = 0 + 0.000 000 000 000 005 764 607 523 034 234 88;
  • 54) 0.000 000 000 000 005 764 607 523 034 234 88 × 2 = 0 + 0.000 000 000 000 011 529 215 046 068 469 76;
  • 55) 0.000 000 000 000 011 529 215 046 068 469 76 × 2 = 0 + 0.000 000 000 000 023 058 430 092 136 939 52;
  • 56) 0.000 000 000 000 023 058 430 092 136 939 52 × 2 = 0 + 0.000 000 000 000 046 116 860 184 273 879 04;
  • 57) 0.000 000 000 000 046 116 860 184 273 879 04 × 2 = 0 + 0.000 000 000 000 092 233 720 368 547 758 08;
  • 58) 0.000 000 000 000 092 233 720 368 547 758 08 × 2 = 0 + 0.000 000 000 000 184 467 440 737 095 516 16;
  • 59) 0.000 000 000 000 184 467 440 737 095 516 16 × 2 = 0 + 0.000 000 000 000 368 934 881 474 191 032 32;
  • 60) 0.000 000 000 000 368 934 881 474 191 032 32 × 2 = 0 + 0.000 000 000 000 737 869 762 948 382 064 64;
  • 61) 0.000 000 000 000 737 869 762 948 382 064 64 × 2 = 0 + 0.000 000 000 001 475 739 525 896 764 129 28;
  • 62) 0.000 000 000 001 475 739 525 896 764 129 28 × 2 = 0 + 0.000 000 000 002 951 479 051 793 528 258 56;
  • 63) 0.000 000 000 002 951 479 051 793 528 258 56 × 2 = 0 + 0.000 000 000 005 902 958 103 587 056 517 12;
  • 64) 0.000 000 000 005 902 958 103 587 056 517 12 × 2 = 0 + 0.000 000 000 011 805 916 207 174 113 034 24;
  • 65) 0.000 000 000 011 805 916 207 174 113 034 24 × 2 = 0 + 0.000 000 000 023 611 832 414 348 226 068 48;
  • 66) 0.000 000 000 023 611 832 414 348 226 068 48 × 2 = 0 + 0.000 000 000 047 223 664 828 696 452 136 96;
  • 67) 0.000 000 000 047 223 664 828 696 452 136 96 × 2 = 0 + 0.000 000 000 094 447 329 657 392 904 273 92;
  • 68) 0.000 000 000 094 447 329 657 392 904 273 92 × 2 = 0 + 0.000 000 000 188 894 659 314 785 808 547 84;
  • 69) 0.000 000 000 188 894 659 314 785 808 547 84 × 2 = 0 + 0.000 000 000 377 789 318 629 571 617 095 68;
  • 70) 0.000 000 000 377 789 318 629 571 617 095 68 × 2 = 0 + 0.000 000 000 755 578 637 259 143 234 191 36;
  • 71) 0.000 000 000 755 578 637 259 143 234 191 36 × 2 = 0 + 0.000 000 001 511 157 274 518 286 468 382 72;
  • 72) 0.000 000 001 511 157 274 518 286 468 382 72 × 2 = 0 + 0.000 000 003 022 314 549 036 572 936 765 44;
  • 73) 0.000 000 003 022 314 549 036 572 936 765 44 × 2 = 0 + 0.000 000 006 044 629 098 073 145 873 530 88;
  • 74) 0.000 000 006 044 629 098 073 145 873 530 88 × 2 = 0 + 0.000 000 012 089 258 196 146 291 747 061 76;
  • 75) 0.000 000 012 089 258 196 146 291 747 061 76 × 2 = 0 + 0.000 000 024 178 516 392 292 583 494 123 52;
  • 76) 0.000 000 024 178 516 392 292 583 494 123 52 × 2 = 0 + 0.000 000 048 357 032 784 585 166 988 247 04;
  • 77) 0.000 000 048 357 032 784 585 166 988 247 04 × 2 = 0 + 0.000 000 096 714 065 569 170 333 976 494 08;
  • 78) 0.000 000 096 714 065 569 170 333 976 494 08 × 2 = 0 + 0.000 000 193 428 131 138 340 667 952 988 16;
  • 79) 0.000 000 193 428 131 138 340 667 952 988 16 × 2 = 0 + 0.000 000 386 856 262 276 681 335 905 976 32;
  • 80) 0.000 000 386 856 262 276 681 335 905 976 32 × 2 = 0 + 0.000 000 773 712 524 553 362 671 811 952 64;
  • 81) 0.000 000 773 712 524 553 362 671 811 952 64 × 2 = 0 + 0.000 001 547 425 049 106 725 343 623 905 28;
  • 82) 0.000 001 547 425 049 106 725 343 623 905 28 × 2 = 0 + 0.000 003 094 850 098 213 450 687 247 810 56;
  • 83) 0.000 003 094 850 098 213 450 687 247 810 56 × 2 = 0 + 0.000 006 189 700 196 426 901 374 495 621 12;
  • 84) 0.000 006 189 700 196 426 901 374 495 621 12 × 2 = 0 + 0.000 012 379 400 392 853 802 748 991 242 24;
  • 85) 0.000 012 379 400 392 853 802 748 991 242 24 × 2 = 0 + 0.000 024 758 800 785 707 605 497 982 484 48;
  • 86) 0.000 024 758 800 785 707 605 497 982 484 48 × 2 = 0 + 0.000 049 517 601 571 415 210 995 964 968 96;
  • 87) 0.000 049 517 601 571 415 210 995 964 968 96 × 2 = 0 + 0.000 099 035 203 142 830 421 991 929 937 92;
  • 88) 0.000 099 035 203 142 830 421 991 929 937 92 × 2 = 0 + 0.000 198 070 406 285 660 843 983 859 875 84;
  • 89) 0.000 198 070 406 285 660 843 983 859 875 84 × 2 = 0 + 0.000 396 140 812 571 321 687 967 719 751 68;
  • 90) 0.000 396 140 812 571 321 687 967 719 751 68 × 2 = 0 + 0.000 792 281 625 142 643 375 935 439 503 36;
  • 91) 0.000 792 281 625 142 643 375 935 439 503 36 × 2 = 0 + 0.001 584 563 250 285 286 751 870 879 006 72;
  • 92) 0.001 584 563 250 285 286 751 870 879 006 72 × 2 = 0 + 0.003 169 126 500 570 573 503 741 758 013 44;
  • 93) 0.003 169 126 500 570 573 503 741 758 013 44 × 2 = 0 + 0.006 338 253 001 141 147 007 483 516 026 88;
  • 94) 0.006 338 253 001 141 147 007 483 516 026 88 × 2 = 0 + 0.012 676 506 002 282 294 014 967 032 053 76;
  • 95) 0.012 676 506 002 282 294 014 967 032 053 76 × 2 = 0 + 0.025 353 012 004 564 588 029 934 064 107 52;
  • 96) 0.025 353 012 004 564 588 029 934 064 107 52 × 2 = 0 + 0.050 706 024 009 129 176 059 868 128 215 04;
  • 97) 0.050 706 024 009 129 176 059 868 128 215 04 × 2 = 0 + 0.101 412 048 018 258 352 119 736 256 430 08;
  • 98) 0.101 412 048 018 258 352 119 736 256 430 08 × 2 = 0 + 0.202 824 096 036 516 704 239 472 512 860 16;
  • 99) 0.202 824 096 036 516 704 239 472 512 860 16 × 2 = 0 + 0.405 648 192 073 033 408 478 945 025 720 32;
  • 100) 0.405 648 192 073 033 408 478 945 025 720 32 × 2 = 0 + 0.811 296 384 146 066 816 957 890 051 440 64;
  • 101) 0.811 296 384 146 066 816 957 890 051 440 64 × 2 = 1 + 0.622 592 768 292 133 633 915 780 102 881 28;
  • 102) 0.622 592 768 292 133 633 915 780 102 881 28 × 2 = 1 + 0.245 185 536 584 267 267 831 560 205 762 56;
  • 103) 0.245 185 536 584 267 267 831 560 205 762 56 × 2 = 0 + 0.490 371 073 168 534 535 663 120 411 525 12;
  • 104) 0.490 371 073 168 534 535 663 120 411 525 12 × 2 = 0 + 0.980 742 146 337 069 071 326 240 823 050 24;
  • 105) 0.980 742 146 337 069 071 326 240 823 050 24 × 2 = 1 + 0.961 484 292 674 138 142 652 481 646 100 48;
  • 106) 0.961 484 292 674 138 142 652 481 646 100 48 × 2 = 1 + 0.922 968 585 348 276 285 304 963 292 200 96;
  • 107) 0.922 968 585 348 276 285 304 963 292 200 96 × 2 = 1 + 0.845 937 170 696 552 570 609 926 584 401 92;
  • 108) 0.845 937 170 696 552 570 609 926 584 401 92 × 2 = 1 + 0.691 874 341 393 105 141 219 853 168 803 84;
  • 109) 0.691 874 341 393 105 141 219 853 168 803 84 × 2 = 1 + 0.383 748 682 786 210 282 439 706 337 607 68;
  • 110) 0.383 748 682 786 210 282 439 706 337 607 68 × 2 = 0 + 0.767 497 365 572 420 564 879 412 675 215 36;
  • 111) 0.767 497 365 572 420 564 879 412 675 215 36 × 2 = 1 + 0.534 994 731 144 841 129 758 825 350 430 72;
  • 112) 0.534 994 731 144 841 129 758 825 350 430 72 × 2 = 1 + 0.069 989 462 289 682 259 517 650 700 861 44;
  • 113) 0.069 989 462 289 682 259 517 650 700 861 44 × 2 = 0 + 0.139 978 924 579 364 519 035 301 401 722 88;
  • 114) 0.139 978 924 579 364 519 035 301 401 722 88 × 2 = 0 + 0.279 957 849 158 729 038 070 602 803 445 76;
  • 115) 0.279 957 849 158 729 038 070 602 803 445 76 × 2 = 0 + 0.559 915 698 317 458 076 141 205 606 891 52;
  • 116) 0.559 915 698 317 458 076 141 205 606 891 52 × 2 = 1 + 0.119 831 396 634 916 152 282 411 213 783 04;
  • 117) 0.119 831 396 634 916 152 282 411 213 783 04 × 2 = 0 + 0.239 662 793 269 832 304 564 822 427 566 08;
  • 118) 0.239 662 793 269 832 304 564 822 427 566 08 × 2 = 0 + 0.479 325 586 539 664 609 129 644 855 132 16;
  • 119) 0.479 325 586 539 664 609 129 644 855 132 16 × 2 = 0 + 0.958 651 173 079 329 218 259 289 710 264 32;
  • 120) 0.958 651 173 079 329 218 259 289 710 264 32 × 2 = 1 + 0.917 302 346 158 658 436 518 579 420 528 64;
  • 121) 0.917 302 346 158 658 436 518 579 420 528 64 × 2 = 1 + 0.834 604 692 317 316 873 037 158 841 057 28;
  • 122) 0.834 604 692 317 316 873 037 158 841 057 28 × 2 = 1 + 0.669 209 384 634 633 746 074 317 682 114 56;
  • 123) 0.669 209 384 634 633 746 074 317 682 114 56 × 2 = 1 + 0.338 418 769 269 267 492 148 635 364 229 12;
  • 124) 0.338 418 769 269 267 492 148 635 364 229 12 × 2 = 0 + 0.676 837 538 538 534 984 297 270 728 458 24;
  • 125) 0.676 837 538 538 534 984 297 270 728 458 24 × 2 = 1 + 0.353 675 077 077 069 968 594 541 456 916 48;
  • 126) 0.353 675 077 077 069 968 594 541 456 916 48 × 2 = 0 + 0.707 350 154 154 139 937 189 082 913 832 96;
  • 127) 0.707 350 154 154 139 937 189 082 913 832 96 × 2 = 1 + 0.414 700 308 308 279 874 378 165 827 665 92;
  • 128) 0.414 700 308 308 279 874 378 165 827 665 92 × 2 = 0 + 0.829 400 616 616 559 748 756 331 655 331 84;
  • 129) 0.829 400 616 616 559 748 756 331 655 331 84 × 2 = 1 + 0.658 801 233 233 119 497 512 663 310 663 68;
  • 130) 0.658 801 233 233 119 497 512 663 310 663 68 × 2 = 1 + 0.317 602 466 466 238 995 025 326 621 327 36;
  • 131) 0.317 602 466 466 238 995 025 326 621 327 36 × 2 = 0 + 0.635 204 932 932 477 990 050 653 242 654 72;
  • 132) 0.635 204 932 932 477 990 050 653 242 654 72 × 2 = 1 + 0.270 409 865 864 955 980 101 306 485 309 44;
  • 133) 0.270 409 865 864 955 980 101 306 485 309 44 × 2 = 0 + 0.540 819 731 729 911 960 202 612 970 618 88;
  • 134) 0.540 819 731 729 911 960 202 612 970 618 88 × 2 = 1 + 0.081 639 463 459 823 920 405 225 941 237 76;
  • 135) 0.081 639 463 459 823 920 405 225 941 237 76 × 2 = 0 + 0.163 278 926 919 647 840 810 451 882 475 52;
  • 136) 0.163 278 926 919 647 840 810 451 882 475 52 × 2 = 0 + 0.326 557 853 839 295 681 620 903 764 951 04;
  • 137) 0.326 557 853 839 295 681 620 903 764 951 04 × 2 = 0 + 0.653 115 707 678 591 363 241 807 529 902 08;
  • 138) 0.653 115 707 678 591 363 241 807 529 902 08 × 2 = 1 + 0.306 231 415 357 182 726 483 615 059 804 16;
  • 139) 0.306 231 415 357 182 726 483 615 059 804 16 × 2 = 0 + 0.612 462 830 714 365 452 967 230 119 608 32;
  • 140) 0.612 462 830 714 365 452 967 230 119 608 32 × 2 = 1 + 0.224 925 661 428 730 905 934 460 239 216 64;
  • 141) 0.224 925 661 428 730 905 934 460 239 216 64 × 2 = 0 + 0.449 851 322 857 461 811 868 920 478 433 28;
  • 142) 0.449 851 322 857 461 811 868 920 478 433 28 × 2 = 0 + 0.899 702 645 714 923 623 737 840 956 866 56;
  • 143) 0.899 702 645 714 923 623 737 840 956 866 56 × 2 = 1 + 0.799 405 291 429 847 247 475 681 913 733 12;
  • 144) 0.799 405 291 429 847 247 475 681 913 733 12 × 2 = 1 + 0.598 810 582 859 694 494 951 363 827 466 24;
  • 145) 0.598 810 582 859 694 494 951 363 827 466 24 × 2 = 1 + 0.197 621 165 719 388 989 902 727 654 932 48;
  • 146) 0.197 621 165 719 388 989 902 727 654 932 48 × 2 = 0 + 0.395 242 331 438 777 979 805 455 309 864 96;
  • 147) 0.395 242 331 438 777 979 805 455 309 864 96 × 2 = 0 + 0.790 484 662 877 555 959 610 910 619 729 92;
  • 148) 0.790 484 662 877 555 959 610 910 619 729 92 × 2 = 1 + 0.580 969 325 755 111 919 221 821 239 459 84;
  • 149) 0.580 969 325 755 111 919 221 821 239 459 84 × 2 = 1 + 0.161 938 651 510 223 838 443 642 478 919 68;
  • 150) 0.161 938 651 510 223 838 443 642 478 919 68 × 2 = 0 + 0.323 877 303 020 447 676 887 284 957 839 36;
  • 151) 0.323 877 303 020 447 676 887 284 957 839 36 × 2 = 0 + 0.647 754 606 040 895 353 774 569 915 678 72;
  • 152) 0.647 754 606 040 895 353 774 569 915 678 72 × 2 = 1 + 0.295 509 212 081 790 707 549 139 831 357 44;
  • 153) 0.295 509 212 081 790 707 549 139 831 357 44 × 2 = 0 + 0.591 018 424 163 581 415 098 279 662 714 88;

We didn't get any fractional part that was equal to zero. But we had enough iterations (over Mantissa limit) and at least one integer that was different from zero => FULL STOP (Losing precision - the converted number we get in the end will be just a very good approximation of the initial one).


4. Construct the base 2 representation of the fractional part of the number.

Take all the integer parts of the multiplying operations, starting from the top of the constructed list above:


0.000 000 000 000 000 000 000 000 000 000 64(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1100 1111 1011 0001 0001 1110 1010 1101 0100 0101 0011 1001 1001 0(2)

5. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 64(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1100 1111 1011 0001 0001 1110 1010 1101 0100 0101 0011 1001 1001 0(2)

6. Normalize the binary representation of the number.

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


0.000 000 000 000 000 000 000 000 000 000 64(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1100 1111 1011 0001 0001 1110 1010 1101 0100 0101 0011 1001 1001 0(2) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1100 1111 1011 0001 0001 1110 1010 1101 0100 0101 0011 1001 1001 0(2) × 20 =


1.1001 1111 0110 0010 0011 1101 0101 1010 1000 1010 0111 0011 0010(2) × 2-101


7. 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): -101


Mantissa (not normalized):
1.1001 1111 0110 0010 0011 1101 0101 1010 1000 1010 0111 0011 0010


8. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


-101 + 2(11-1) - 1 =


(-101 + 1 023)(10) =


922(10)


9. 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;
  • 922 ÷ 2 = 461 + 0;
  • 461 ÷ 2 = 230 + 1;
  • 230 ÷ 2 = 115 + 0;
  • 115 ÷ 2 = 57 + 1;
  • 57 ÷ 2 = 28 + 1;
  • 28 ÷ 2 = 14 + 0;
  • 14 ÷ 2 = 7 + 0;
  • 7 ÷ 2 = 3 + 1;
  • 3 ÷ 2 = 1 + 1;
  • 1 ÷ 2 = 0 + 1;

10. Construct the base 2 representation of the adjusted exponent.

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


Exponent (adjusted) =


922(10) =


011 1001 1010(2)


11. 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, only if necessary (not the case here).


Mantissa (normalized) =


1. 1001 1111 0110 0010 0011 1101 0101 1010 1000 1010 0111 0011 0010 =


1001 1111 0110 0010 0011 1101 0101 1010 1000 1010 0111 0011 0010


12. 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) =
011 1001 1010


Mantissa (52 bits) =
1001 1111 0110 0010 0011 1101 0101 1010 1000 1010 0111 0011 0010


Decimal number 0.000 000 000 000 000 000 000 000 000 000 64 converted to 64 bit double precision IEEE 754 binary floating point representation:

0 - 011 1001 1010 - 1001 1111 0110 0010 0011 1101 0101 1010 1000 1010 0111 0011 0010


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