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

Convert decimal 100 010 100 111 010 011 110 001 000 011 100 101 100 000 000 000 000 001 001(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 010 100 111 010 011 110 001 000 011 100 101 100 000 000 000 000 001 001(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 010 100 111 010 011 110 001 000 011 100 101 100 000 000 000 000 001 001 ÷ 2 = 50 005 050 055 505 005 555 000 500 005 550 050 550 000 000 000 000 000 500 + 1;
  • 50 005 050 055 505 005 555 000 500 005 550 050 550 000 000 000 000 000 500 ÷ 2 = 25 002 525 027 752 502 777 500 250 002 775 025 275 000 000 000 000 000 250 + 0;
  • 25 002 525 027 752 502 777 500 250 002 775 025 275 000 000 000 000 000 250 ÷ 2 = 12 501 262 513 876 251 388 750 125 001 387 512 637 500 000 000 000 000 125 + 0;
  • 12 501 262 513 876 251 388 750 125 001 387 512 637 500 000 000 000 000 125 ÷ 2 = 6 250 631 256 938 125 694 375 062 500 693 756 318 750 000 000 000 000 062 + 1;
  • 6 250 631 256 938 125 694 375 062 500 693 756 318 750 000 000 000 000 062 ÷ 2 = 3 125 315 628 469 062 847 187 531 250 346 878 159 375 000 000 000 000 031 + 0;
  • 3 125 315 628 469 062 847 187 531 250 346 878 159 375 000 000 000 000 031 ÷ 2 = 1 562 657 814 234 531 423 593 765 625 173 439 079 687 500 000 000 000 015 + 1;
  • 1 562 657 814 234 531 423 593 765 625 173 439 079 687 500 000 000 000 015 ÷ 2 = 781 328 907 117 265 711 796 882 812 586 719 539 843 750 000 000 000 007 + 1;
  • 781 328 907 117 265 711 796 882 812 586 719 539 843 750 000 000 000 007 ÷ 2 = 390 664 453 558 632 855 898 441 406 293 359 769 921 875 000 000 000 003 + 1;
  • 390 664 453 558 632 855 898 441 406 293 359 769 921 875 000 000 000 003 ÷ 2 = 195 332 226 779 316 427 949 220 703 146 679 884 960 937 500 000 000 001 + 1;
  • 195 332 226 779 316 427 949 220 703 146 679 884 960 937 500 000 000 001 ÷ 2 = 97 666 113 389 658 213 974 610 351 573 339 942 480 468 750 000 000 000 + 1;
  • 97 666 113 389 658 213 974 610 351 573 339 942 480 468 750 000 000 000 ÷ 2 = 48 833 056 694 829 106 987 305 175 786 669 971 240 234 375 000 000 000 + 0;
  • 48 833 056 694 829 106 987 305 175 786 669 971 240 234 375 000 000 000 ÷ 2 = 24 416 528 347 414 553 493 652 587 893 334 985 620 117 187 500 000 000 + 0;
  • 24 416 528 347 414 553 493 652 587 893 334 985 620 117 187 500 000 000 ÷ 2 = 12 208 264 173 707 276 746 826 293 946 667 492 810 058 593 750 000 000 + 0;
  • 12 208 264 173 707 276 746 826 293 946 667 492 810 058 593 750 000 000 ÷ 2 = 6 104 132 086 853 638 373 413 146 973 333 746 405 029 296 875 000 000 + 0;
  • 6 104 132 086 853 638 373 413 146 973 333 746 405 029 296 875 000 000 ÷ 2 = 3 052 066 043 426 819 186 706 573 486 666 873 202 514 648 437 500 000 + 0;
  • 3 052 066 043 426 819 186 706 573 486 666 873 202 514 648 437 500 000 ÷ 2 = 1 526 033 021 713 409 593 353 286 743 333 436 601 257 324 218 750 000 + 0;
  • 1 526 033 021 713 409 593 353 286 743 333 436 601 257 324 218 750 000 ÷ 2 = 763 016 510 856 704 796 676 643 371 666 718 300 628 662 109 375 000 + 0;
  • 763 016 510 856 704 796 676 643 371 666 718 300 628 662 109 375 000 ÷ 2 = 381 508 255 428 352 398 338 321 685 833 359 150 314 331 054 687 500 + 0;
  • 381 508 255 428 352 398 338 321 685 833 359 150 314 331 054 687 500 ÷ 2 = 190 754 127 714 176 199 169 160 842 916 679 575 157 165 527 343 750 + 0;
  • 190 754 127 714 176 199 169 160 842 916 679 575 157 165 527 343 750 ÷ 2 = 95 377 063 857 088 099 584 580 421 458 339 787 578 582 763 671 875 + 0;
  • 95 377 063 857 088 099 584 580 421 458 339 787 578 582 763 671 875 ÷ 2 = 47 688 531 928 544 049 792 290 210 729 169 893 789 291 381 835 937 + 1;
  • 47 688 531 928 544 049 792 290 210 729 169 893 789 291 381 835 937 ÷ 2 = 23 844 265 964 272 024 896 145 105 364 584 946 894 645 690 917 968 + 1;
  • 23 844 265 964 272 024 896 145 105 364 584 946 894 645 690 917 968 ÷ 2 = 11 922 132 982 136 012 448 072 552 682 292 473 447 322 845 458 984 + 0;
  • 11 922 132 982 136 012 448 072 552 682 292 473 447 322 845 458 984 ÷ 2 = 5 961 066 491 068 006 224 036 276 341 146 236 723 661 422 729 492 + 0;
  • 5 961 066 491 068 006 224 036 276 341 146 236 723 661 422 729 492 ÷ 2 = 2 980 533 245 534 003 112 018 138 170 573 118 361 830 711 364 746 + 0;
  • 2 980 533 245 534 003 112 018 138 170 573 118 361 830 711 364 746 ÷ 2 = 1 490 266 622 767 001 556 009 069 085 286 559 180 915 355 682 373 + 0;
  • 1 490 266 622 767 001 556 009 069 085 286 559 180 915 355 682 373 ÷ 2 = 745 133 311 383 500 778 004 534 542 643 279 590 457 677 841 186 + 1;
  • 745 133 311 383 500 778 004 534 542 643 279 590 457 677 841 186 ÷ 2 = 372 566 655 691 750 389 002 267 271 321 639 795 228 838 920 593 + 0;
  • 372 566 655 691 750 389 002 267 271 321 639 795 228 838 920 593 ÷ 2 = 186 283 327 845 875 194 501 133 635 660 819 897 614 419 460 296 + 1;
  • 186 283 327 845 875 194 501 133 635 660 819 897 614 419 460 296 ÷ 2 = 93 141 663 922 937 597 250 566 817 830 409 948 807 209 730 148 + 0;
  • 93 141 663 922 937 597 250 566 817 830 409 948 807 209 730 148 ÷ 2 = 46 570 831 961 468 798 625 283 408 915 204 974 403 604 865 074 + 0;
  • 46 570 831 961 468 798 625 283 408 915 204 974 403 604 865 074 ÷ 2 = 23 285 415 980 734 399 312 641 704 457 602 487 201 802 432 537 + 0;
  • 23 285 415 980 734 399 312 641 704 457 602 487 201 802 432 537 ÷ 2 = 11 642 707 990 367 199 656 320 852 228 801 243 600 901 216 268 + 1;
  • 11 642 707 990 367 199 656 320 852 228 801 243 600 901 216 268 ÷ 2 = 5 821 353 995 183 599 828 160 426 114 400 621 800 450 608 134 + 0;
  • 5 821 353 995 183 599 828 160 426 114 400 621 800 450 608 134 ÷ 2 = 2 910 676 997 591 799 914 080 213 057 200 310 900 225 304 067 + 0;
  • 2 910 676 997 591 799 914 080 213 057 200 310 900 225 304 067 ÷ 2 = 1 455 338 498 795 899 957 040 106 528 600 155 450 112 652 033 + 1;
  • 1 455 338 498 795 899 957 040 106 528 600 155 450 112 652 033 ÷ 2 = 727 669 249 397 949 978 520 053 264 300 077 725 056 326 016 + 1;
  • 727 669 249 397 949 978 520 053 264 300 077 725 056 326 016 ÷ 2 = 363 834 624 698 974 989 260 026 632 150 038 862 528 163 008 + 0;
  • 363 834 624 698 974 989 260 026 632 150 038 862 528 163 008 ÷ 2 = 181 917 312 349 487 494 630 013 316 075 019 431 264 081 504 + 0;
  • 181 917 312 349 487 494 630 013 316 075 019 431 264 081 504 ÷ 2 = 90 958 656 174 743 747 315 006 658 037 509 715 632 040 752 + 0;
  • 90 958 656 174 743 747 315 006 658 037 509 715 632 040 752 ÷ 2 = 45 479 328 087 371 873 657 503 329 018 754 857 816 020 376 + 0;
  • 45 479 328 087 371 873 657 503 329 018 754 857 816 020 376 ÷ 2 = 22 739 664 043 685 936 828 751 664 509 377 428 908 010 188 + 0;
  • 22 739 664 043 685 936 828 751 664 509 377 428 908 010 188 ÷ 2 = 11 369 832 021 842 968 414 375 832 254 688 714 454 005 094 + 0;
  • 11 369 832 021 842 968 414 375 832 254 688 714 454 005 094 ÷ 2 = 5 684 916 010 921 484 207 187 916 127 344 357 227 002 547 + 0;
  • 5 684 916 010 921 484 207 187 916 127 344 357 227 002 547 ÷ 2 = 2 842 458 005 460 742 103 593 958 063 672 178 613 501 273 + 1;
  • 2 842 458 005 460 742 103 593 958 063 672 178 613 501 273 ÷ 2 = 1 421 229 002 730 371 051 796 979 031 836 089 306 750 636 + 1;
  • 1 421 229 002 730 371 051 796 979 031 836 089 306 750 636 ÷ 2 = 710 614 501 365 185 525 898 489 515 918 044 653 375 318 + 0;
  • 710 614 501 365 185 525 898 489 515 918 044 653 375 318 ÷ 2 = 355 307 250 682 592 762 949 244 757 959 022 326 687 659 + 0;
  • 355 307 250 682 592 762 949 244 757 959 022 326 687 659 ÷ 2 = 177 653 625 341 296 381 474 622 378 979 511 163 343 829 + 1;
  • 177 653 625 341 296 381 474 622 378 979 511 163 343 829 ÷ 2 = 88 826 812 670 648 190 737 311 189 489 755 581 671 914 + 1;
  • 88 826 812 670 648 190 737 311 189 489 755 581 671 914 ÷ 2 = 44 413 406 335 324 095 368 655 594 744 877 790 835 957 + 0;
  • 44 413 406 335 324 095 368 655 594 744 877 790 835 957 ÷ 2 = 22 206 703 167 662 047 684 327 797 372 438 895 417 978 + 1;
  • 22 206 703 167 662 047 684 327 797 372 438 895 417 978 ÷ 2 = 11 103 351 583 831 023 842 163 898 686 219 447 708 989 + 0;
  • 11 103 351 583 831 023 842 163 898 686 219 447 708 989 ÷ 2 = 5 551 675 791 915 511 921 081 949 343 109 723 854 494 + 1;
  • 5 551 675 791 915 511 921 081 949 343 109 723 854 494 ÷ 2 = 2 775 837 895 957 755 960 540 974 671 554 861 927 247 + 0;
  • 2 775 837 895 957 755 960 540 974 671 554 861 927 247 ÷ 2 = 1 387 918 947 978 877 980 270 487 335 777 430 963 623 + 1;
  • 1 387 918 947 978 877 980 270 487 335 777 430 963 623 ÷ 2 = 693 959 473 989 438 990 135 243 667 888 715 481 811 + 1;
  • 693 959 473 989 438 990 135 243 667 888 715 481 811 ÷ 2 = 346 979 736 994 719 495 067 621 833 944 357 740 905 + 1;
  • 346 979 736 994 719 495 067 621 833 944 357 740 905 ÷ 2 = 173 489 868 497 359 747 533 810 916 972 178 870 452 + 1;
  • 173 489 868 497 359 747 533 810 916 972 178 870 452 ÷ 2 = 86 744 934 248 679 873 766 905 458 486 089 435 226 + 0;
  • 86 744 934 248 679 873 766 905 458 486 089 435 226 ÷ 2 = 43 372 467 124 339 936 883 452 729 243 044 717 613 + 0;
  • 43 372 467 124 339 936 883 452 729 243 044 717 613 ÷ 2 = 21 686 233 562 169 968 441 726 364 621 522 358 806 + 1;
  • 21 686 233 562 169 968 441 726 364 621 522 358 806 ÷ 2 = 10 843 116 781 084 984 220 863 182 310 761 179 403 + 0;
  • 10 843 116 781 084 984 220 863 182 310 761 179 403 ÷ 2 = 5 421 558 390 542 492 110 431 591 155 380 589 701 + 1;
  • 5 421 558 390 542 492 110 431 591 155 380 589 701 ÷ 2 = 2 710 779 195 271 246 055 215 795 577 690 294 850 + 1;
  • 2 710 779 195 271 246 055 215 795 577 690 294 850 ÷ 2 = 1 355 389 597 635 623 027 607 897 788 845 147 425 + 0;
  • 1 355 389 597 635 623 027 607 897 788 845 147 425 ÷ 2 = 677 694 798 817 811 513 803 948 894 422 573 712 + 1;
  • 677 694 798 817 811 513 803 948 894 422 573 712 ÷ 2 = 338 847 399 408 905 756 901 974 447 211 286 856 + 0;
  • 338 847 399 408 905 756 901 974 447 211 286 856 ÷ 2 = 169 423 699 704 452 878 450 987 223 605 643 428 + 0;
  • 169 423 699 704 452 878 450 987 223 605 643 428 ÷ 2 = 84 711 849 852 226 439 225 493 611 802 821 714 + 0;
  • 84 711 849 852 226 439 225 493 611 802 821 714 ÷ 2 = 42 355 924 926 113 219 612 746 805 901 410 857 + 0;
  • 42 355 924 926 113 219 612 746 805 901 410 857 ÷ 2 = 21 177 962 463 056 609 806 373 402 950 705 428 + 1;
  • 21 177 962 463 056 609 806 373 402 950 705 428 ÷ 2 = 10 588 981 231 528 304 903 186 701 475 352 714 + 0;
  • 10 588 981 231 528 304 903 186 701 475 352 714 ÷ 2 = 5 294 490 615 764 152 451 593 350 737 676 357 + 0;
  • 5 294 490 615 764 152 451 593 350 737 676 357 ÷ 2 = 2 647 245 307 882 076 225 796 675 368 838 178 + 1;
  • 2 647 245 307 882 076 225 796 675 368 838 178 ÷ 2 = 1 323 622 653 941 038 112 898 337 684 419 089 + 0;
  • 1 323 622 653 941 038 112 898 337 684 419 089 ÷ 2 = 661 811 326 970 519 056 449 168 842 209 544 + 1;
  • 661 811 326 970 519 056 449 168 842 209 544 ÷ 2 = 330 905 663 485 259 528 224 584 421 104 772 + 0;
  • 330 905 663 485 259 528 224 584 421 104 772 ÷ 2 = 165 452 831 742 629 764 112 292 210 552 386 + 0;
  • 165 452 831 742 629 764 112 292 210 552 386 ÷ 2 = 82 726 415 871 314 882 056 146 105 276 193 + 0;
  • 82 726 415 871 314 882 056 146 105 276 193 ÷ 2 = 41 363 207 935 657 441 028 073 052 638 096 + 1;
  • 41 363 207 935 657 441 028 073 052 638 096 ÷ 2 = 20 681 603 967 828 720 514 036 526 319 048 + 0;
  • 20 681 603 967 828 720 514 036 526 319 048 ÷ 2 = 10 340 801 983 914 360 257 018 263 159 524 + 0;
  • 10 340 801 983 914 360 257 018 263 159 524 ÷ 2 = 5 170 400 991 957 180 128 509 131 579 762 + 0;
  • 5 170 400 991 957 180 128 509 131 579 762 ÷ 2 = 2 585 200 495 978 590 064 254 565 789 881 + 0;
  • 2 585 200 495 978 590 064 254 565 789 881 ÷ 2 = 1 292 600 247 989 295 032 127 282 894 940 + 1;
  • 1 292 600 247 989 295 032 127 282 894 940 ÷ 2 = 646 300 123 994 647 516 063 641 447 470 + 0;
  • 646 300 123 994 647 516 063 641 447 470 ÷ 2 = 323 150 061 997 323 758 031 820 723 735 + 0;
  • 323 150 061 997 323 758 031 820 723 735 ÷ 2 = 161 575 030 998 661 879 015 910 361 867 + 1;
  • 161 575 030 998 661 879 015 910 361 867 ÷ 2 = 80 787 515 499 330 939 507 955 180 933 + 1;
  • 80 787 515 499 330 939 507 955 180 933 ÷ 2 = 40 393 757 749 665 469 753 977 590 466 + 1;
  • 40 393 757 749 665 469 753 977 590 466 ÷ 2 = 20 196 878 874 832 734 876 988 795 233 + 0;
  • 20 196 878 874 832 734 876 988 795 233 ÷ 2 = 10 098 439 437 416 367 438 494 397 616 + 1;
  • 10 098 439 437 416 367 438 494 397 616 ÷ 2 = 5 049 219 718 708 183 719 247 198 808 + 0;
  • 5 049 219 718 708 183 719 247 198 808 ÷ 2 = 2 524 609 859 354 091 859 623 599 404 + 0;
  • 2 524 609 859 354 091 859 623 599 404 ÷ 2 = 1 262 304 929 677 045 929 811 799 702 + 0;
  • 1 262 304 929 677 045 929 811 799 702 ÷ 2 = 631 152 464 838 522 964 905 899 851 + 0;
  • 631 152 464 838 522 964 905 899 851 ÷ 2 = 315 576 232 419 261 482 452 949 925 + 1;
  • 315 576 232 419 261 482 452 949 925 ÷ 2 = 157 788 116 209 630 741 226 474 962 + 1;
  • 157 788 116 209 630 741 226 474 962 ÷ 2 = 78 894 058 104 815 370 613 237 481 + 0;
  • 78 894 058 104 815 370 613 237 481 ÷ 2 = 39 447 029 052 407 685 306 618 740 + 1;
  • 39 447 029 052 407 685 306 618 740 ÷ 2 = 19 723 514 526 203 842 653 309 370 + 0;
  • 19 723 514 526 203 842 653 309 370 ÷ 2 = 9 861 757 263 101 921 326 654 685 + 0;
  • 9 861 757 263 101 921 326 654 685 ÷ 2 = 4 930 878 631 550 960 663 327 342 + 1;
  • 4 930 878 631 550 960 663 327 342 ÷ 2 = 2 465 439 315 775 480 331 663 671 + 0;
  • 2 465 439 315 775 480 331 663 671 ÷ 2 = 1 232 719 657 887 740 165 831 835 + 1;
  • 1 232 719 657 887 740 165 831 835 ÷ 2 = 616 359 828 943 870 082 915 917 + 1;
  • 616 359 828 943 870 082 915 917 ÷ 2 = 308 179 914 471 935 041 457 958 + 1;
  • 308 179 914 471 935 041 457 958 ÷ 2 = 154 089 957 235 967 520 728 979 + 0;
  • 154 089 957 235 967 520 728 979 ÷ 2 = 77 044 978 617 983 760 364 489 + 1;
  • 77 044 978 617 983 760 364 489 ÷ 2 = 38 522 489 308 991 880 182 244 + 1;
  • 38 522 489 308 991 880 182 244 ÷ 2 = 19 261 244 654 495 940 091 122 + 0;
  • 19 261 244 654 495 940 091 122 ÷ 2 = 9 630 622 327 247 970 045 561 + 0;
  • 9 630 622 327 247 970 045 561 ÷ 2 = 4 815 311 163 623 985 022 780 + 1;
  • 4 815 311 163 623 985 022 780 ÷ 2 = 2 407 655 581 811 992 511 390 + 0;
  • 2 407 655 581 811 992 511 390 ÷ 2 = 1 203 827 790 905 996 255 695 + 0;
  • 1 203 827 790 905 996 255 695 ÷ 2 = 601 913 895 452 998 127 847 + 1;
  • 601 913 895 452 998 127 847 ÷ 2 = 300 956 947 726 499 063 923 + 1;
  • 300 956 947 726 499 063 923 ÷ 2 = 150 478 473 863 249 531 961 + 1;
  • 150 478 473 863 249 531 961 ÷ 2 = 75 239 236 931 624 765 980 + 1;
  • 75 239 236 931 624 765 980 ÷ 2 = 37 619 618 465 812 382 990 + 0;
  • 37 619 618 465 812 382 990 ÷ 2 = 18 809 809 232 906 191 495 + 0;
  • 18 809 809 232 906 191 495 ÷ 2 = 9 404 904 616 453 095 747 + 1;
  • 9 404 904 616 453 095 747 ÷ 2 = 4 702 452 308 226 547 873 + 1;
  • 4 702 452 308 226 547 873 ÷ 2 = 2 351 226 154 113 273 936 + 1;
  • 2 351 226 154 113 273 936 ÷ 2 = 1 175 613 077 056 636 968 + 0;
  • 1 175 613 077 056 636 968 ÷ 2 = 587 806 538 528 318 484 + 0;
  • 587 806 538 528 318 484 ÷ 2 = 293 903 269 264 159 242 + 0;
  • 293 903 269 264 159 242 ÷ 2 = 146 951 634 632 079 621 + 0;
  • 146 951 634 632 079 621 ÷ 2 = 73 475 817 316 039 810 + 1;
  • 73 475 817 316 039 810 ÷ 2 = 36 737 908 658 019 905 + 0;
  • 36 737 908 658 019 905 ÷ 2 = 18 368 954 329 009 952 + 1;
  • 18 368 954 329 009 952 ÷ 2 = 9 184 477 164 504 976 + 0;
  • 9 184 477 164 504 976 ÷ 2 = 4 592 238 582 252 488 + 0;
  • 4 592 238 582 252 488 ÷ 2 = 2 296 119 291 126 244 + 0;
  • 2 296 119 291 126 244 ÷ 2 = 1 148 059 645 563 122 + 0;
  • 1 148 059 645 563 122 ÷ 2 = 574 029 822 781 561 + 0;
  • 574 029 822 781 561 ÷ 2 = 287 014 911 390 780 + 1;
  • 287 014 911 390 780 ÷ 2 = 143 507 455 695 390 + 0;
  • 143 507 455 695 390 ÷ 2 = 71 753 727 847 695 + 0;
  • 71 753 727 847 695 ÷ 2 = 35 876 863 923 847 + 1;
  • 35 876 863 923 847 ÷ 2 = 17 938 431 961 923 + 1;
  • 17 938 431 961 923 ÷ 2 = 8 969 215 980 961 + 1;
  • 8 969 215 980 961 ÷ 2 = 4 484 607 990 480 + 1;
  • 4 484 607 990 480 ÷ 2 = 2 242 303 995 240 + 0;
  • 2 242 303 995 240 ÷ 2 = 1 121 151 997 620 + 0;
  • 1 121 151 997 620 ÷ 2 = 560 575 998 810 + 0;
  • 560 575 998 810 ÷ 2 = 280 287 999 405 + 0;
  • 280 287 999 405 ÷ 2 = 140 143 999 702 + 1;
  • 140 143 999 702 ÷ 2 = 70 071 999 851 + 0;
  • 70 071 999 851 ÷ 2 = 35 035 999 925 + 1;
  • 35 035 999 925 ÷ 2 = 17 517 999 962 + 1;
  • 17 517 999 962 ÷ 2 = 8 758 999 981 + 0;
  • 8 758 999 981 ÷ 2 = 4 379 499 990 + 1;
  • 4 379 499 990 ÷ 2 = 2 189 749 995 + 0;
  • 2 189 749 995 ÷ 2 = 1 094 874 997 + 1;
  • 1 094 874 997 ÷ 2 = 547 437 498 + 1;
  • 547 437 498 ÷ 2 = 273 718 749 + 0;
  • 273 718 749 ÷ 2 = 136 859 374 + 1;
  • 136 859 374 ÷ 2 = 68 429 687 + 0;
  • 68 429 687 ÷ 2 = 34 214 843 + 1;
  • 34 214 843 ÷ 2 = 17 107 421 + 1;
  • 17 107 421 ÷ 2 = 8 553 710 + 1;
  • 8 553 710 ÷ 2 = 4 276 855 + 0;
  • 4 276 855 ÷ 2 = 2 138 427 + 1;
  • 2 138 427 ÷ 2 = 1 069 213 + 1;
  • 1 069 213 ÷ 2 = 534 606 + 1;
  • 534 606 ÷ 2 = 267 303 + 0;
  • 267 303 ÷ 2 = 133 651 + 1;
  • 133 651 ÷ 2 = 66 825 + 1;
  • 66 825 ÷ 2 = 33 412 + 1;
  • 33 412 ÷ 2 = 16 706 + 0;
  • 16 706 ÷ 2 = 8 353 + 0;
  • 8 353 ÷ 2 = 4 176 + 1;
  • 4 176 ÷ 2 = 2 088 + 0;
  • 2 088 ÷ 2 = 1 044 + 0;
  • 1 044 ÷ 2 = 522 + 0;
  • 522 ÷ 2 = 261 + 0;
  • 261 ÷ 2 = 130 + 1;
  • 130 ÷ 2 = 65 + 0;
  • 65 ÷ 2 = 32 + 1;
  • 32 ÷ 2 = 16 + 0;
  • 16 ÷ 2 = 8 + 0;
  • 8 ÷ 2 = 4 + 0;
  • 4 ÷ 2 = 2 + 0;
  • 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.

100 010 100 111 010 011 110 001 000 011 100 101 100 000 000 000 000 001 001(10) =


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


3. Normalize the binary representation of the number.

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


100 010 100 111 010 011 110 001 000 011 100 101 100 000 000 000 000 001 001(10) =


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


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


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


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


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


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


186 + 2(11-1) - 1 =


(186 + 1 023)(10) =


1 209(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 209 ÷ 2 = 604 + 1;
  • 604 ÷ 2 = 302 + 0;
  • 302 ÷ 2 = 151 + 0;
  • 151 ÷ 2 = 75 + 1;
  • 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) =


1209(10) =


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


0000 0101 0000 1001 1101 1101 1101 0110 1011 0100 0011 1100 1000


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 1001


Mantissa (52 bits) =
0000 0101 0000 1001 1101 1101 1101 0110 1011 0100 0011 1100 1000


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

0 - 100 1011 1001 - 0000 0101 0000 1001 1101 1101 1101 0110 1011 0100 0011 1100 1000


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