621 299 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 881 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 621 299 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 881(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
621 299 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 881(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;
  • 621 299 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 881 ÷ 2 = 310 649 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 940 + 1;
  • 310 649 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 940 ÷ 2 = 155 324 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 970 + 0;
  • 155 324 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 970 ÷ 2 = 77 662 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 985 + 0;
  • 77 662 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 985 ÷ 2 = 38 831 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 992 + 1;
  • 38 831 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 992 ÷ 2 = 19 415 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 996 + 0;
  • 19 415 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 996 ÷ 2 = 9 707 812 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 998 + 0;
  • 9 707 812 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 998 ÷ 2 = 4 853 906 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 0;
  • 4 853 906 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 2 426 953 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 2 426 953 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 213 476 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 213 476 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 606 738 281 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 606 738 281 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 303 369 140 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 303 369 140 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 151 684 570 312 499 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 151 684 570 312 499 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 75 842 285 156 249 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 75 842 285 156 249 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 37 921 142 578 124 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 37 921 142 578 124 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 18 960 571 289 062 499 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 18 960 571 289 062 499 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 9 480 285 644 531 249 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 9 480 285 644 531 249 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 4 740 142 822 265 624 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 4 740 142 822 265 624 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 2 370 071 411 132 812 499 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 2 370 071 411 132 812 499 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 185 035 705 566 406 249 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 185 035 705 566 406 249 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 592 517 852 783 203 124 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 592 517 852 783 203 124 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 296 258 926 391 601 562 499 999 999 999 999 999 999 999 999 999 999 + 1;
  • 296 258 926 391 601 562 499 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 148 129 463 195 800 781 249 999 999 999 999 999 999 999 999 999 999 + 1;
  • 148 129 463 195 800 781 249 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 74 064 731 597 900 390 624 999 999 999 999 999 999 999 999 999 999 + 1;
  • 74 064 731 597 900 390 624 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 37 032 365 798 950 195 312 499 999 999 999 999 999 999 999 999 999 + 1;
  • 37 032 365 798 950 195 312 499 999 999 999 999 999 999 999 999 999 ÷ 2 = 18 516 182 899 475 097 656 249 999 999 999 999 999 999 999 999 999 + 1;
  • 18 516 182 899 475 097 656 249 999 999 999 999 999 999 999 999 999 ÷ 2 = 9 258 091 449 737 548 828 124 999 999 999 999 999 999 999 999 999 + 1;
  • 9 258 091 449 737 548 828 124 999 999 999 999 999 999 999 999 999 ÷ 2 = 4 629 045 724 868 774 414 062 499 999 999 999 999 999 999 999 999 + 1;
  • 4 629 045 724 868 774 414 062 499 999 999 999 999 999 999 999 999 ÷ 2 = 2 314 522 862 434 387 207 031 249 999 999 999 999 999 999 999 999 + 1;
  • 2 314 522 862 434 387 207 031 249 999 999 999 999 999 999 999 999 ÷ 2 = 1 157 261 431 217 193 603 515 624 999 999 999 999 999 999 999 999 + 1;
  • 1 157 261 431 217 193 603 515 624 999 999 999 999 999 999 999 999 ÷ 2 = 578 630 715 608 596 801 757 812 499 999 999 999 999 999 999 999 + 1;
  • 578 630 715 608 596 801 757 812 499 999 999 999 999 999 999 999 ÷ 2 = 289 315 357 804 298 400 878 906 249 999 999 999 999 999 999 999 + 1;
  • 289 315 357 804 298 400 878 906 249 999 999 999 999 999 999 999 ÷ 2 = 144 657 678 902 149 200 439 453 124 999 999 999 999 999 999 999 + 1;
  • 144 657 678 902 149 200 439 453 124 999 999 999 999 999 999 999 ÷ 2 = 72 328 839 451 074 600 219 726 562 499 999 999 999 999 999 999 + 1;
  • 72 328 839 451 074 600 219 726 562 499 999 999 999 999 999 999 ÷ 2 = 36 164 419 725 537 300 109 863 281 249 999 999 999 999 999 999 + 1;
  • 36 164 419 725 537 300 109 863 281 249 999 999 999 999 999 999 ÷ 2 = 18 082 209 862 768 650 054 931 640 624 999 999 999 999 999 999 + 1;
  • 18 082 209 862 768 650 054 931 640 624 999 999 999 999 999 999 ÷ 2 = 9 041 104 931 384 325 027 465 820 312 499 999 999 999 999 999 + 1;
  • 9 041 104 931 384 325 027 465 820 312 499 999 999 999 999 999 ÷ 2 = 4 520 552 465 692 162 513 732 910 156 249 999 999 999 999 999 + 1;
  • 4 520 552 465 692 162 513 732 910 156 249 999 999 999 999 999 ÷ 2 = 2 260 276 232 846 081 256 866 455 078 124 999 999 999 999 999 + 1;
  • 2 260 276 232 846 081 256 866 455 078 124 999 999 999 999 999 ÷ 2 = 1 130 138 116 423 040 628 433 227 539 062 499 999 999 999 999 + 1;
  • 1 130 138 116 423 040 628 433 227 539 062 499 999 999 999 999 ÷ 2 = 565 069 058 211 520 314 216 613 769 531 249 999 999 999 999 + 1;
  • 565 069 058 211 520 314 216 613 769 531 249 999 999 999 999 ÷ 2 = 282 534 529 105 760 157 108 306 884 765 624 999 999 999 999 + 1;
  • 282 534 529 105 760 157 108 306 884 765 624 999 999 999 999 ÷ 2 = 141 267 264 552 880 078 554 153 442 382 812 499 999 999 999 + 1;
  • 141 267 264 552 880 078 554 153 442 382 812 499 999 999 999 ÷ 2 = 70 633 632 276 440 039 277 076 721 191 406 249 999 999 999 + 1;
  • 70 633 632 276 440 039 277 076 721 191 406 249 999 999 999 ÷ 2 = 35 316 816 138 220 019 638 538 360 595 703 124 999 999 999 + 1;
  • 35 316 816 138 220 019 638 538 360 595 703 124 999 999 999 ÷ 2 = 17 658 408 069 110 009 819 269 180 297 851 562 499 999 999 + 1;
  • 17 658 408 069 110 009 819 269 180 297 851 562 499 999 999 ÷ 2 = 8 829 204 034 555 004 909 634 590 148 925 781 249 999 999 + 1;
  • 8 829 204 034 555 004 909 634 590 148 925 781 249 999 999 ÷ 2 = 4 414 602 017 277 502 454 817 295 074 462 890 624 999 999 + 1;
  • 4 414 602 017 277 502 454 817 295 074 462 890 624 999 999 ÷ 2 = 2 207 301 008 638 751 227 408 647 537 231 445 312 499 999 + 1;
  • 2 207 301 008 638 751 227 408 647 537 231 445 312 499 999 ÷ 2 = 1 103 650 504 319 375 613 704 323 768 615 722 656 249 999 + 1;
  • 1 103 650 504 319 375 613 704 323 768 615 722 656 249 999 ÷ 2 = 551 825 252 159 687 806 852 161 884 307 861 328 124 999 + 1;
  • 551 825 252 159 687 806 852 161 884 307 861 328 124 999 ÷ 2 = 275 912 626 079 843 903 426 080 942 153 930 664 062 499 + 1;
  • 275 912 626 079 843 903 426 080 942 153 930 664 062 499 ÷ 2 = 137 956 313 039 921 951 713 040 471 076 965 332 031 249 + 1;
  • 137 956 313 039 921 951 713 040 471 076 965 332 031 249 ÷ 2 = 68 978 156 519 960 975 856 520 235 538 482 666 015 624 + 1;
  • 68 978 156 519 960 975 856 520 235 538 482 666 015 624 ÷ 2 = 34 489 078 259 980 487 928 260 117 769 241 333 007 812 + 0;
  • 34 489 078 259 980 487 928 260 117 769 241 333 007 812 ÷ 2 = 17 244 539 129 990 243 964 130 058 884 620 666 503 906 + 0;
  • 17 244 539 129 990 243 964 130 058 884 620 666 503 906 ÷ 2 = 8 622 269 564 995 121 982 065 029 442 310 333 251 953 + 0;
  • 8 622 269 564 995 121 982 065 029 442 310 333 251 953 ÷ 2 = 4 311 134 782 497 560 991 032 514 721 155 166 625 976 + 1;
  • 4 311 134 782 497 560 991 032 514 721 155 166 625 976 ÷ 2 = 2 155 567 391 248 780 495 516 257 360 577 583 312 988 + 0;
  • 2 155 567 391 248 780 495 516 257 360 577 583 312 988 ÷ 2 = 1 077 783 695 624 390 247 758 128 680 288 791 656 494 + 0;
  • 1 077 783 695 624 390 247 758 128 680 288 791 656 494 ÷ 2 = 538 891 847 812 195 123 879 064 340 144 395 828 247 + 0;
  • 538 891 847 812 195 123 879 064 340 144 395 828 247 ÷ 2 = 269 445 923 906 097 561 939 532 170 072 197 914 123 + 1;
  • 269 445 923 906 097 561 939 532 170 072 197 914 123 ÷ 2 = 134 722 961 953 048 780 969 766 085 036 098 957 061 + 1;
  • 134 722 961 953 048 780 969 766 085 036 098 957 061 ÷ 2 = 67 361 480 976 524 390 484 883 042 518 049 478 530 + 1;
  • 67 361 480 976 524 390 484 883 042 518 049 478 530 ÷ 2 = 33 680 740 488 262 195 242 441 521 259 024 739 265 + 0;
  • 33 680 740 488 262 195 242 441 521 259 024 739 265 ÷ 2 = 16 840 370 244 131 097 621 220 760 629 512 369 632 + 1;
  • 16 840 370 244 131 097 621 220 760 629 512 369 632 ÷ 2 = 8 420 185 122 065 548 810 610 380 314 756 184 816 + 0;
  • 8 420 185 122 065 548 810 610 380 314 756 184 816 ÷ 2 = 4 210 092 561 032 774 405 305 190 157 378 092 408 + 0;
  • 4 210 092 561 032 774 405 305 190 157 378 092 408 ÷ 2 = 2 105 046 280 516 387 202 652 595 078 689 046 204 + 0;
  • 2 105 046 280 516 387 202 652 595 078 689 046 204 ÷ 2 = 1 052 523 140 258 193 601 326 297 539 344 523 102 + 0;
  • 1 052 523 140 258 193 601 326 297 539 344 523 102 ÷ 2 = 526 261 570 129 096 800 663 148 769 672 261 551 + 0;
  • 526 261 570 129 096 800 663 148 769 672 261 551 ÷ 2 = 263 130 785 064 548 400 331 574 384 836 130 775 + 1;
  • 263 130 785 064 548 400 331 574 384 836 130 775 ÷ 2 = 131 565 392 532 274 200 165 787 192 418 065 387 + 1;
  • 131 565 392 532 274 200 165 787 192 418 065 387 ÷ 2 = 65 782 696 266 137 100 082 893 596 209 032 693 + 1;
  • 65 782 696 266 137 100 082 893 596 209 032 693 ÷ 2 = 32 891 348 133 068 550 041 446 798 104 516 346 + 1;
  • 32 891 348 133 068 550 041 446 798 104 516 346 ÷ 2 = 16 445 674 066 534 275 020 723 399 052 258 173 + 0;
  • 16 445 674 066 534 275 020 723 399 052 258 173 ÷ 2 = 8 222 837 033 267 137 510 361 699 526 129 086 + 1;
  • 8 222 837 033 267 137 510 361 699 526 129 086 ÷ 2 = 4 111 418 516 633 568 755 180 849 763 064 543 + 0;
  • 4 111 418 516 633 568 755 180 849 763 064 543 ÷ 2 = 2 055 709 258 316 784 377 590 424 881 532 271 + 1;
  • 2 055 709 258 316 784 377 590 424 881 532 271 ÷ 2 = 1 027 854 629 158 392 188 795 212 440 766 135 + 1;
  • 1 027 854 629 158 392 188 795 212 440 766 135 ÷ 2 = 513 927 314 579 196 094 397 606 220 383 067 + 1;
  • 513 927 314 579 196 094 397 606 220 383 067 ÷ 2 = 256 963 657 289 598 047 198 803 110 191 533 + 1;
  • 256 963 657 289 598 047 198 803 110 191 533 ÷ 2 = 128 481 828 644 799 023 599 401 555 095 766 + 1;
  • 128 481 828 644 799 023 599 401 555 095 766 ÷ 2 = 64 240 914 322 399 511 799 700 777 547 883 + 0;
  • 64 240 914 322 399 511 799 700 777 547 883 ÷ 2 = 32 120 457 161 199 755 899 850 388 773 941 + 1;
  • 32 120 457 161 199 755 899 850 388 773 941 ÷ 2 = 16 060 228 580 599 877 949 925 194 386 970 + 1;
  • 16 060 228 580 599 877 949 925 194 386 970 ÷ 2 = 8 030 114 290 299 938 974 962 597 193 485 + 0;
  • 8 030 114 290 299 938 974 962 597 193 485 ÷ 2 = 4 015 057 145 149 969 487 481 298 596 742 + 1;
  • 4 015 057 145 149 969 487 481 298 596 742 ÷ 2 = 2 007 528 572 574 984 743 740 649 298 371 + 0;
  • 2 007 528 572 574 984 743 740 649 298 371 ÷ 2 = 1 003 764 286 287 492 371 870 324 649 185 + 1;
  • 1 003 764 286 287 492 371 870 324 649 185 ÷ 2 = 501 882 143 143 746 185 935 162 324 592 + 1;
  • 501 882 143 143 746 185 935 162 324 592 ÷ 2 = 250 941 071 571 873 092 967 581 162 296 + 0;
  • 250 941 071 571 873 092 967 581 162 296 ÷ 2 = 125 470 535 785 936 546 483 790 581 148 + 0;
  • 125 470 535 785 936 546 483 790 581 148 ÷ 2 = 62 735 267 892 968 273 241 895 290 574 + 0;
  • 62 735 267 892 968 273 241 895 290 574 ÷ 2 = 31 367 633 946 484 136 620 947 645 287 + 0;
  • 31 367 633 946 484 136 620 947 645 287 ÷ 2 = 15 683 816 973 242 068 310 473 822 643 + 1;
  • 15 683 816 973 242 068 310 473 822 643 ÷ 2 = 7 841 908 486 621 034 155 236 911 321 + 1;
  • 7 841 908 486 621 034 155 236 911 321 ÷ 2 = 3 920 954 243 310 517 077 618 455 660 + 1;
  • 3 920 954 243 310 517 077 618 455 660 ÷ 2 = 1 960 477 121 655 258 538 809 227 830 + 0;
  • 1 960 477 121 655 258 538 809 227 830 ÷ 2 = 980 238 560 827 629 269 404 613 915 + 0;
  • 980 238 560 827 629 269 404 613 915 ÷ 2 = 490 119 280 413 814 634 702 306 957 + 1;
  • 490 119 280 413 814 634 702 306 957 ÷ 2 = 245 059 640 206 907 317 351 153 478 + 1;
  • 245 059 640 206 907 317 351 153 478 ÷ 2 = 122 529 820 103 453 658 675 576 739 + 0;
  • 122 529 820 103 453 658 675 576 739 ÷ 2 = 61 264 910 051 726 829 337 788 369 + 1;
  • 61 264 910 051 726 829 337 788 369 ÷ 2 = 30 632 455 025 863 414 668 894 184 + 1;
  • 30 632 455 025 863 414 668 894 184 ÷ 2 = 15 316 227 512 931 707 334 447 092 + 0;
  • 15 316 227 512 931 707 334 447 092 ÷ 2 = 7 658 113 756 465 853 667 223 546 + 0;
  • 7 658 113 756 465 853 667 223 546 ÷ 2 = 3 829 056 878 232 926 833 611 773 + 0;
  • 3 829 056 878 232 926 833 611 773 ÷ 2 = 1 914 528 439 116 463 416 805 886 + 1;
  • 1 914 528 439 116 463 416 805 886 ÷ 2 = 957 264 219 558 231 708 402 943 + 0;
  • 957 264 219 558 231 708 402 943 ÷ 2 = 478 632 109 779 115 854 201 471 + 1;
  • 478 632 109 779 115 854 201 471 ÷ 2 = 239 316 054 889 557 927 100 735 + 1;
  • 239 316 054 889 557 927 100 735 ÷ 2 = 119 658 027 444 778 963 550 367 + 1;
  • 119 658 027 444 778 963 550 367 ÷ 2 = 59 829 013 722 389 481 775 183 + 1;
  • 59 829 013 722 389 481 775 183 ÷ 2 = 29 914 506 861 194 740 887 591 + 1;
  • 29 914 506 861 194 740 887 591 ÷ 2 = 14 957 253 430 597 370 443 795 + 1;
  • 14 957 253 430 597 370 443 795 ÷ 2 = 7 478 626 715 298 685 221 897 + 1;
  • 7 478 626 715 298 685 221 897 ÷ 2 = 3 739 313 357 649 342 610 948 + 1;
  • 3 739 313 357 649 342 610 948 ÷ 2 = 1 869 656 678 824 671 305 474 + 0;
  • 1 869 656 678 824 671 305 474 ÷ 2 = 934 828 339 412 335 652 737 + 0;
  • 934 828 339 412 335 652 737 ÷ 2 = 467 414 169 706 167 826 368 + 1;
  • 467 414 169 706 167 826 368 ÷ 2 = 233 707 084 853 083 913 184 + 0;
  • 233 707 084 853 083 913 184 ÷ 2 = 116 853 542 426 541 956 592 + 0;
  • 116 853 542 426 541 956 592 ÷ 2 = 58 426 771 213 270 978 296 + 0;
  • 58 426 771 213 270 978 296 ÷ 2 = 29 213 385 606 635 489 148 + 0;
  • 29 213 385 606 635 489 148 ÷ 2 = 14 606 692 803 317 744 574 + 0;
  • 14 606 692 803 317 744 574 ÷ 2 = 7 303 346 401 658 872 287 + 0;
  • 7 303 346 401 658 872 287 ÷ 2 = 3 651 673 200 829 436 143 + 1;
  • 3 651 673 200 829 436 143 ÷ 2 = 1 825 836 600 414 718 071 + 1;
  • 1 825 836 600 414 718 071 ÷ 2 = 912 918 300 207 359 035 + 1;
  • 912 918 300 207 359 035 ÷ 2 = 456 459 150 103 679 517 + 1;
  • 456 459 150 103 679 517 ÷ 2 = 228 229 575 051 839 758 + 1;
  • 228 229 575 051 839 758 ÷ 2 = 114 114 787 525 919 879 + 0;
  • 114 114 787 525 919 879 ÷ 2 = 57 057 393 762 959 939 + 1;
  • 57 057 393 762 959 939 ÷ 2 = 28 528 696 881 479 969 + 1;
  • 28 528 696 881 479 969 ÷ 2 = 14 264 348 440 739 984 + 1;
  • 14 264 348 440 739 984 ÷ 2 = 7 132 174 220 369 992 + 0;
  • 7 132 174 220 369 992 ÷ 2 = 3 566 087 110 184 996 + 0;
  • 3 566 087 110 184 996 ÷ 2 = 1 783 043 555 092 498 + 0;
  • 1 783 043 555 092 498 ÷ 2 = 891 521 777 546 249 + 0;
  • 891 521 777 546 249 ÷ 2 = 445 760 888 773 124 + 1;
  • 445 760 888 773 124 ÷ 2 = 222 880 444 386 562 + 0;
  • 222 880 444 386 562 ÷ 2 = 111 440 222 193 281 + 0;
  • 111 440 222 193 281 ÷ 2 = 55 720 111 096 640 + 1;
  • 55 720 111 096 640 ÷ 2 = 27 860 055 548 320 + 0;
  • 27 860 055 548 320 ÷ 2 = 13 930 027 774 160 + 0;
  • 13 930 027 774 160 ÷ 2 = 6 965 013 887 080 + 0;
  • 6 965 013 887 080 ÷ 2 = 3 482 506 943 540 + 0;
  • 3 482 506 943 540 ÷ 2 = 1 741 253 471 770 + 0;
  • 1 741 253 471 770 ÷ 2 = 870 626 735 885 + 0;
  • 870 626 735 885 ÷ 2 = 435 313 367 942 + 1;
  • 435 313 367 942 ÷ 2 = 217 656 683 971 + 0;
  • 217 656 683 971 ÷ 2 = 108 828 341 985 + 1;
  • 108 828 341 985 ÷ 2 = 54 414 170 992 + 1;
  • 54 414 170 992 ÷ 2 = 27 207 085 496 + 0;
  • 27 207 085 496 ÷ 2 = 13 603 542 748 + 0;
  • 13 603 542 748 ÷ 2 = 6 801 771 374 + 0;
  • 6 801 771 374 ÷ 2 = 3 400 885 687 + 0;
  • 3 400 885 687 ÷ 2 = 1 700 442 843 + 1;
  • 1 700 442 843 ÷ 2 = 850 221 421 + 1;
  • 850 221 421 ÷ 2 = 425 110 710 + 1;
  • 425 110 710 ÷ 2 = 212 555 355 + 0;
  • 212 555 355 ÷ 2 = 106 277 677 + 1;
  • 106 277 677 ÷ 2 = 53 138 838 + 1;
  • 53 138 838 ÷ 2 = 26 569 419 + 0;
  • 26 569 419 ÷ 2 = 13 284 709 + 1;
  • 13 284 709 ÷ 2 = 6 642 354 + 1;
  • 6 642 354 ÷ 2 = 3 321 177 + 0;
  • 3 321 177 ÷ 2 = 1 660 588 + 1;
  • 1 660 588 ÷ 2 = 830 294 + 0;
  • 830 294 ÷ 2 = 415 147 + 0;
  • 415 147 ÷ 2 = 207 573 + 1;
  • 207 573 ÷ 2 = 103 786 + 1;
  • 103 786 ÷ 2 = 51 893 + 0;
  • 51 893 ÷ 2 = 25 946 + 1;
  • 25 946 ÷ 2 = 12 973 + 0;
  • 12 973 ÷ 2 = 6 486 + 1;
  • 6 486 ÷ 2 = 3 243 + 0;
  • 3 243 ÷ 2 = 1 621 + 1;
  • 1 621 ÷ 2 = 810 + 1;
  • 810 ÷ 2 = 405 + 0;
  • 405 ÷ 2 = 202 + 1;
  • 202 ÷ 2 = 101 + 0;
  • 101 ÷ 2 = 50 + 1;
  • 50 ÷ 2 = 25 + 0;
  • 25 ÷ 2 = 12 + 1;
  • 12 ÷ 2 = 6 + 0;
  • 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.

621 299 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 881(10) =


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


3. Normalize the binary representation of the number.

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


621 299 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 881(10) =


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


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


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


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


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


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


188 + 2(11-1) - 1 =


(188 + 1 023)(10) =


1 211(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 211 ÷ 2 = 605 + 1;
  • 605 ÷ 2 = 302 + 1;
  • 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) =


1211(10) =


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


1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 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 1011


Mantissa (52 bits) =
1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 1000


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

0 - 100 1011 1011 - 1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 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