-25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal -25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095(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
-25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095(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. Start with the positive version of the number:

|-25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095| = 25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095


2. 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;
  • 25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095 ÷ 2 = 12 826 867 950 845 861 952 169 231 601 985 315 211 040 479 726 352 119 890 047 + 1;
  • 12 826 867 950 845 861 952 169 231 601 985 315 211 040 479 726 352 119 890 047 ÷ 2 = 6 413 433 975 422 930 976 084 615 800 992 657 605 520 239 863 176 059 945 023 + 1;
  • 6 413 433 975 422 930 976 084 615 800 992 657 605 520 239 863 176 059 945 023 ÷ 2 = 3 206 716 987 711 465 488 042 307 900 496 328 802 760 119 931 588 029 972 511 + 1;
  • 3 206 716 987 711 465 488 042 307 900 496 328 802 760 119 931 588 029 972 511 ÷ 2 = 1 603 358 493 855 732 744 021 153 950 248 164 401 380 059 965 794 014 986 255 + 1;
  • 1 603 358 493 855 732 744 021 153 950 248 164 401 380 059 965 794 014 986 255 ÷ 2 = 801 679 246 927 866 372 010 576 975 124 082 200 690 029 982 897 007 493 127 + 1;
  • 801 679 246 927 866 372 010 576 975 124 082 200 690 029 982 897 007 493 127 ÷ 2 = 400 839 623 463 933 186 005 288 487 562 041 100 345 014 991 448 503 746 563 + 1;
  • 400 839 623 463 933 186 005 288 487 562 041 100 345 014 991 448 503 746 563 ÷ 2 = 200 419 811 731 966 593 002 644 243 781 020 550 172 507 495 724 251 873 281 + 1;
  • 200 419 811 731 966 593 002 644 243 781 020 550 172 507 495 724 251 873 281 ÷ 2 = 100 209 905 865 983 296 501 322 121 890 510 275 086 253 747 862 125 936 640 + 1;
  • 100 209 905 865 983 296 501 322 121 890 510 275 086 253 747 862 125 936 640 ÷ 2 = 50 104 952 932 991 648 250 661 060 945 255 137 543 126 873 931 062 968 320 + 0;
  • 50 104 952 932 991 648 250 661 060 945 255 137 543 126 873 931 062 968 320 ÷ 2 = 25 052 476 466 495 824 125 330 530 472 627 568 771 563 436 965 531 484 160 + 0;
  • 25 052 476 466 495 824 125 330 530 472 627 568 771 563 436 965 531 484 160 ÷ 2 = 12 526 238 233 247 912 062 665 265 236 313 784 385 781 718 482 765 742 080 + 0;
  • 12 526 238 233 247 912 062 665 265 236 313 784 385 781 718 482 765 742 080 ÷ 2 = 6 263 119 116 623 956 031 332 632 618 156 892 192 890 859 241 382 871 040 + 0;
  • 6 263 119 116 623 956 031 332 632 618 156 892 192 890 859 241 382 871 040 ÷ 2 = 3 131 559 558 311 978 015 666 316 309 078 446 096 445 429 620 691 435 520 + 0;
  • 3 131 559 558 311 978 015 666 316 309 078 446 096 445 429 620 691 435 520 ÷ 2 = 1 565 779 779 155 989 007 833 158 154 539 223 048 222 714 810 345 717 760 + 0;
  • 1 565 779 779 155 989 007 833 158 154 539 223 048 222 714 810 345 717 760 ÷ 2 = 782 889 889 577 994 503 916 579 077 269 611 524 111 357 405 172 858 880 + 0;
  • 782 889 889 577 994 503 916 579 077 269 611 524 111 357 405 172 858 880 ÷ 2 = 391 444 944 788 997 251 958 289 538 634 805 762 055 678 702 586 429 440 + 0;
  • 391 444 944 788 997 251 958 289 538 634 805 762 055 678 702 586 429 440 ÷ 2 = 195 722 472 394 498 625 979 144 769 317 402 881 027 839 351 293 214 720 + 0;
  • 195 722 472 394 498 625 979 144 769 317 402 881 027 839 351 293 214 720 ÷ 2 = 97 861 236 197 249 312 989 572 384 658 701 440 513 919 675 646 607 360 + 0;
  • 97 861 236 197 249 312 989 572 384 658 701 440 513 919 675 646 607 360 ÷ 2 = 48 930 618 098 624 656 494 786 192 329 350 720 256 959 837 823 303 680 + 0;
  • 48 930 618 098 624 656 494 786 192 329 350 720 256 959 837 823 303 680 ÷ 2 = 24 465 309 049 312 328 247 393 096 164 675 360 128 479 918 911 651 840 + 0;
  • 24 465 309 049 312 328 247 393 096 164 675 360 128 479 918 911 651 840 ÷ 2 = 12 232 654 524 656 164 123 696 548 082 337 680 064 239 959 455 825 920 + 0;
  • 12 232 654 524 656 164 123 696 548 082 337 680 064 239 959 455 825 920 ÷ 2 = 6 116 327 262 328 082 061 848 274 041 168 840 032 119 979 727 912 960 + 0;
  • 6 116 327 262 328 082 061 848 274 041 168 840 032 119 979 727 912 960 ÷ 2 = 3 058 163 631 164 041 030 924 137 020 584 420 016 059 989 863 956 480 + 0;
  • 3 058 163 631 164 041 030 924 137 020 584 420 016 059 989 863 956 480 ÷ 2 = 1 529 081 815 582 020 515 462 068 510 292 210 008 029 994 931 978 240 + 0;
  • 1 529 081 815 582 020 515 462 068 510 292 210 008 029 994 931 978 240 ÷ 2 = 764 540 907 791 010 257 731 034 255 146 105 004 014 997 465 989 120 + 0;
  • 764 540 907 791 010 257 731 034 255 146 105 004 014 997 465 989 120 ÷ 2 = 382 270 453 895 505 128 865 517 127 573 052 502 007 498 732 994 560 + 0;
  • 382 270 453 895 505 128 865 517 127 573 052 502 007 498 732 994 560 ÷ 2 = 191 135 226 947 752 564 432 758 563 786 526 251 003 749 366 497 280 + 0;
  • 191 135 226 947 752 564 432 758 563 786 526 251 003 749 366 497 280 ÷ 2 = 95 567 613 473 876 282 216 379 281 893 263 125 501 874 683 248 640 + 0;
  • 95 567 613 473 876 282 216 379 281 893 263 125 501 874 683 248 640 ÷ 2 = 47 783 806 736 938 141 108 189 640 946 631 562 750 937 341 624 320 + 0;
  • 47 783 806 736 938 141 108 189 640 946 631 562 750 937 341 624 320 ÷ 2 = 23 891 903 368 469 070 554 094 820 473 315 781 375 468 670 812 160 + 0;
  • 23 891 903 368 469 070 554 094 820 473 315 781 375 468 670 812 160 ÷ 2 = 11 945 951 684 234 535 277 047 410 236 657 890 687 734 335 406 080 + 0;
  • 11 945 951 684 234 535 277 047 410 236 657 890 687 734 335 406 080 ÷ 2 = 5 972 975 842 117 267 638 523 705 118 328 945 343 867 167 703 040 + 0;
  • 5 972 975 842 117 267 638 523 705 118 328 945 343 867 167 703 040 ÷ 2 = 2 986 487 921 058 633 819 261 852 559 164 472 671 933 583 851 520 + 0;
  • 2 986 487 921 058 633 819 261 852 559 164 472 671 933 583 851 520 ÷ 2 = 1 493 243 960 529 316 909 630 926 279 582 236 335 966 791 925 760 + 0;
  • 1 493 243 960 529 316 909 630 926 279 582 236 335 966 791 925 760 ÷ 2 = 746 621 980 264 658 454 815 463 139 791 118 167 983 395 962 880 + 0;
  • 746 621 980 264 658 454 815 463 139 791 118 167 983 395 962 880 ÷ 2 = 373 310 990 132 329 227 407 731 569 895 559 083 991 697 981 440 + 0;
  • 373 310 990 132 329 227 407 731 569 895 559 083 991 697 981 440 ÷ 2 = 186 655 495 066 164 613 703 865 784 947 779 541 995 848 990 720 + 0;
  • 186 655 495 066 164 613 703 865 784 947 779 541 995 848 990 720 ÷ 2 = 93 327 747 533 082 306 851 932 892 473 889 770 997 924 495 360 + 0;
  • 93 327 747 533 082 306 851 932 892 473 889 770 997 924 495 360 ÷ 2 = 46 663 873 766 541 153 425 966 446 236 944 885 498 962 247 680 + 0;
  • 46 663 873 766 541 153 425 966 446 236 944 885 498 962 247 680 ÷ 2 = 23 331 936 883 270 576 712 983 223 118 472 442 749 481 123 840 + 0;
  • 23 331 936 883 270 576 712 983 223 118 472 442 749 481 123 840 ÷ 2 = 11 665 968 441 635 288 356 491 611 559 236 221 374 740 561 920 + 0;
  • 11 665 968 441 635 288 356 491 611 559 236 221 374 740 561 920 ÷ 2 = 5 832 984 220 817 644 178 245 805 779 618 110 687 370 280 960 + 0;
  • 5 832 984 220 817 644 178 245 805 779 618 110 687 370 280 960 ÷ 2 = 2 916 492 110 408 822 089 122 902 889 809 055 343 685 140 480 + 0;
  • 2 916 492 110 408 822 089 122 902 889 809 055 343 685 140 480 ÷ 2 = 1 458 246 055 204 411 044 561 451 444 904 527 671 842 570 240 + 0;
  • 1 458 246 055 204 411 044 561 451 444 904 527 671 842 570 240 ÷ 2 = 729 123 027 602 205 522 280 725 722 452 263 835 921 285 120 + 0;
  • 729 123 027 602 205 522 280 725 722 452 263 835 921 285 120 ÷ 2 = 364 561 513 801 102 761 140 362 861 226 131 917 960 642 560 + 0;
  • 364 561 513 801 102 761 140 362 861 226 131 917 960 642 560 ÷ 2 = 182 280 756 900 551 380 570 181 430 613 065 958 980 321 280 + 0;
  • 182 280 756 900 551 380 570 181 430 613 065 958 980 321 280 ÷ 2 = 91 140 378 450 275 690 285 090 715 306 532 979 490 160 640 + 0;
  • 91 140 378 450 275 690 285 090 715 306 532 979 490 160 640 ÷ 2 = 45 570 189 225 137 845 142 545 357 653 266 489 745 080 320 + 0;
  • 45 570 189 225 137 845 142 545 357 653 266 489 745 080 320 ÷ 2 = 22 785 094 612 568 922 571 272 678 826 633 244 872 540 160 + 0;
  • 22 785 094 612 568 922 571 272 678 826 633 244 872 540 160 ÷ 2 = 11 392 547 306 284 461 285 636 339 413 316 622 436 270 080 + 0;
  • 11 392 547 306 284 461 285 636 339 413 316 622 436 270 080 ÷ 2 = 5 696 273 653 142 230 642 818 169 706 658 311 218 135 040 + 0;
  • 5 696 273 653 142 230 642 818 169 706 658 311 218 135 040 ÷ 2 = 2 848 136 826 571 115 321 409 084 853 329 155 609 067 520 + 0;
  • 2 848 136 826 571 115 321 409 084 853 329 155 609 067 520 ÷ 2 = 1 424 068 413 285 557 660 704 542 426 664 577 804 533 760 + 0;
  • 1 424 068 413 285 557 660 704 542 426 664 577 804 533 760 ÷ 2 = 712 034 206 642 778 830 352 271 213 332 288 902 266 880 + 0;
  • 712 034 206 642 778 830 352 271 213 332 288 902 266 880 ÷ 2 = 356 017 103 321 389 415 176 135 606 666 144 451 133 440 + 0;
  • 356 017 103 321 389 415 176 135 606 666 144 451 133 440 ÷ 2 = 178 008 551 660 694 707 588 067 803 333 072 225 566 720 + 0;
  • 178 008 551 660 694 707 588 067 803 333 072 225 566 720 ÷ 2 = 89 004 275 830 347 353 794 033 901 666 536 112 783 360 + 0;
  • 89 004 275 830 347 353 794 033 901 666 536 112 783 360 ÷ 2 = 44 502 137 915 173 676 897 016 950 833 268 056 391 680 + 0;
  • 44 502 137 915 173 676 897 016 950 833 268 056 391 680 ÷ 2 = 22 251 068 957 586 838 448 508 475 416 634 028 195 840 + 0;
  • 22 251 068 957 586 838 448 508 475 416 634 028 195 840 ÷ 2 = 11 125 534 478 793 419 224 254 237 708 317 014 097 920 + 0;
  • 11 125 534 478 793 419 224 254 237 708 317 014 097 920 ÷ 2 = 5 562 767 239 396 709 612 127 118 854 158 507 048 960 + 0;
  • 5 562 767 239 396 709 612 127 118 854 158 507 048 960 ÷ 2 = 2 781 383 619 698 354 806 063 559 427 079 253 524 480 + 0;
  • 2 781 383 619 698 354 806 063 559 427 079 253 524 480 ÷ 2 = 1 390 691 809 849 177 403 031 779 713 539 626 762 240 + 0;
  • 1 390 691 809 849 177 403 031 779 713 539 626 762 240 ÷ 2 = 695 345 904 924 588 701 515 889 856 769 813 381 120 + 0;
  • 695 345 904 924 588 701 515 889 856 769 813 381 120 ÷ 2 = 347 672 952 462 294 350 757 944 928 384 906 690 560 + 0;
  • 347 672 952 462 294 350 757 944 928 384 906 690 560 ÷ 2 = 173 836 476 231 147 175 378 972 464 192 453 345 280 + 0;
  • 173 836 476 231 147 175 378 972 464 192 453 345 280 ÷ 2 = 86 918 238 115 573 587 689 486 232 096 226 672 640 + 0;
  • 86 918 238 115 573 587 689 486 232 096 226 672 640 ÷ 2 = 43 459 119 057 786 793 844 743 116 048 113 336 320 + 0;
  • 43 459 119 057 786 793 844 743 116 048 113 336 320 ÷ 2 = 21 729 559 528 893 396 922 371 558 024 056 668 160 + 0;
  • 21 729 559 528 893 396 922 371 558 024 056 668 160 ÷ 2 = 10 864 779 764 446 698 461 185 779 012 028 334 080 + 0;
  • 10 864 779 764 446 698 461 185 779 012 028 334 080 ÷ 2 = 5 432 389 882 223 349 230 592 889 506 014 167 040 + 0;
  • 5 432 389 882 223 349 230 592 889 506 014 167 040 ÷ 2 = 2 716 194 941 111 674 615 296 444 753 007 083 520 + 0;
  • 2 716 194 941 111 674 615 296 444 753 007 083 520 ÷ 2 = 1 358 097 470 555 837 307 648 222 376 503 541 760 + 0;
  • 1 358 097 470 555 837 307 648 222 376 503 541 760 ÷ 2 = 679 048 735 277 918 653 824 111 188 251 770 880 + 0;
  • 679 048 735 277 918 653 824 111 188 251 770 880 ÷ 2 = 339 524 367 638 959 326 912 055 594 125 885 440 + 0;
  • 339 524 367 638 959 326 912 055 594 125 885 440 ÷ 2 = 169 762 183 819 479 663 456 027 797 062 942 720 + 0;
  • 169 762 183 819 479 663 456 027 797 062 942 720 ÷ 2 = 84 881 091 909 739 831 728 013 898 531 471 360 + 0;
  • 84 881 091 909 739 831 728 013 898 531 471 360 ÷ 2 = 42 440 545 954 869 915 864 006 949 265 735 680 + 0;
  • 42 440 545 954 869 915 864 006 949 265 735 680 ÷ 2 = 21 220 272 977 434 957 932 003 474 632 867 840 + 0;
  • 21 220 272 977 434 957 932 003 474 632 867 840 ÷ 2 = 10 610 136 488 717 478 966 001 737 316 433 920 + 0;
  • 10 610 136 488 717 478 966 001 737 316 433 920 ÷ 2 = 5 305 068 244 358 739 483 000 868 658 216 960 + 0;
  • 5 305 068 244 358 739 483 000 868 658 216 960 ÷ 2 = 2 652 534 122 179 369 741 500 434 329 108 480 + 0;
  • 2 652 534 122 179 369 741 500 434 329 108 480 ÷ 2 = 1 326 267 061 089 684 870 750 217 164 554 240 + 0;
  • 1 326 267 061 089 684 870 750 217 164 554 240 ÷ 2 = 663 133 530 544 842 435 375 108 582 277 120 + 0;
  • 663 133 530 544 842 435 375 108 582 277 120 ÷ 2 = 331 566 765 272 421 217 687 554 291 138 560 + 0;
  • 331 566 765 272 421 217 687 554 291 138 560 ÷ 2 = 165 783 382 636 210 608 843 777 145 569 280 + 0;
  • 165 783 382 636 210 608 843 777 145 569 280 ÷ 2 = 82 891 691 318 105 304 421 888 572 784 640 + 0;
  • 82 891 691 318 105 304 421 888 572 784 640 ÷ 2 = 41 445 845 659 052 652 210 944 286 392 320 + 0;
  • 41 445 845 659 052 652 210 944 286 392 320 ÷ 2 = 20 722 922 829 526 326 105 472 143 196 160 + 0;
  • 20 722 922 829 526 326 105 472 143 196 160 ÷ 2 = 10 361 461 414 763 163 052 736 071 598 080 + 0;
  • 10 361 461 414 763 163 052 736 071 598 080 ÷ 2 = 5 180 730 707 381 581 526 368 035 799 040 + 0;
  • 5 180 730 707 381 581 526 368 035 799 040 ÷ 2 = 2 590 365 353 690 790 763 184 017 899 520 + 0;
  • 2 590 365 353 690 790 763 184 017 899 520 ÷ 2 = 1 295 182 676 845 395 381 592 008 949 760 + 0;
  • 1 295 182 676 845 395 381 592 008 949 760 ÷ 2 = 647 591 338 422 697 690 796 004 474 880 + 0;
  • 647 591 338 422 697 690 796 004 474 880 ÷ 2 = 323 795 669 211 348 845 398 002 237 440 + 0;
  • 323 795 669 211 348 845 398 002 237 440 ÷ 2 = 161 897 834 605 674 422 699 001 118 720 + 0;
  • 161 897 834 605 674 422 699 001 118 720 ÷ 2 = 80 948 917 302 837 211 349 500 559 360 + 0;
  • 80 948 917 302 837 211 349 500 559 360 ÷ 2 = 40 474 458 651 418 605 674 750 279 680 + 0;
  • 40 474 458 651 418 605 674 750 279 680 ÷ 2 = 20 237 229 325 709 302 837 375 139 840 + 0;
  • 20 237 229 325 709 302 837 375 139 840 ÷ 2 = 10 118 614 662 854 651 418 687 569 920 + 0;
  • 10 118 614 662 854 651 418 687 569 920 ÷ 2 = 5 059 307 331 427 325 709 343 784 960 + 0;
  • 5 059 307 331 427 325 709 343 784 960 ÷ 2 = 2 529 653 665 713 662 854 671 892 480 + 0;
  • 2 529 653 665 713 662 854 671 892 480 ÷ 2 = 1 264 826 832 856 831 427 335 946 240 + 0;
  • 1 264 826 832 856 831 427 335 946 240 ÷ 2 = 632 413 416 428 415 713 667 973 120 + 0;
  • 632 413 416 428 415 713 667 973 120 ÷ 2 = 316 206 708 214 207 856 833 986 560 + 0;
  • 316 206 708 214 207 856 833 986 560 ÷ 2 = 158 103 354 107 103 928 416 993 280 + 0;
  • 158 103 354 107 103 928 416 993 280 ÷ 2 = 79 051 677 053 551 964 208 496 640 + 0;
  • 79 051 677 053 551 964 208 496 640 ÷ 2 = 39 525 838 526 775 982 104 248 320 + 0;
  • 39 525 838 526 775 982 104 248 320 ÷ 2 = 19 762 919 263 387 991 052 124 160 + 0;
  • 19 762 919 263 387 991 052 124 160 ÷ 2 = 9 881 459 631 693 995 526 062 080 + 0;
  • 9 881 459 631 693 995 526 062 080 ÷ 2 = 4 940 729 815 846 997 763 031 040 + 0;
  • 4 940 729 815 846 997 763 031 040 ÷ 2 = 2 470 364 907 923 498 881 515 520 + 0;
  • 2 470 364 907 923 498 881 515 520 ÷ 2 = 1 235 182 453 961 749 440 757 760 + 0;
  • 1 235 182 453 961 749 440 757 760 ÷ 2 = 617 591 226 980 874 720 378 880 + 0;
  • 617 591 226 980 874 720 378 880 ÷ 2 = 308 795 613 490 437 360 189 440 + 0;
  • 308 795 613 490 437 360 189 440 ÷ 2 = 154 397 806 745 218 680 094 720 + 0;
  • 154 397 806 745 218 680 094 720 ÷ 2 = 77 198 903 372 609 340 047 360 + 0;
  • 77 198 903 372 609 340 047 360 ÷ 2 = 38 599 451 686 304 670 023 680 + 0;
  • 38 599 451 686 304 670 023 680 ÷ 2 = 19 299 725 843 152 335 011 840 + 0;
  • 19 299 725 843 152 335 011 840 ÷ 2 = 9 649 862 921 576 167 505 920 + 0;
  • 9 649 862 921 576 167 505 920 ÷ 2 = 4 824 931 460 788 083 752 960 + 0;
  • 4 824 931 460 788 083 752 960 ÷ 2 = 2 412 465 730 394 041 876 480 + 0;
  • 2 412 465 730 394 041 876 480 ÷ 2 = 1 206 232 865 197 020 938 240 + 0;
  • 1 206 232 865 197 020 938 240 ÷ 2 = 603 116 432 598 510 469 120 + 0;
  • 603 116 432 598 510 469 120 ÷ 2 = 301 558 216 299 255 234 560 + 0;
  • 301 558 216 299 255 234 560 ÷ 2 = 150 779 108 149 627 617 280 + 0;
  • 150 779 108 149 627 617 280 ÷ 2 = 75 389 554 074 813 808 640 + 0;
  • 75 389 554 074 813 808 640 ÷ 2 = 37 694 777 037 406 904 320 + 0;
  • 37 694 777 037 406 904 320 ÷ 2 = 18 847 388 518 703 452 160 + 0;
  • 18 847 388 518 703 452 160 ÷ 2 = 9 423 694 259 351 726 080 + 0;
  • 9 423 694 259 351 726 080 ÷ 2 = 4 711 847 129 675 863 040 + 0;
  • 4 711 847 129 675 863 040 ÷ 2 = 2 355 923 564 837 931 520 + 0;
  • 2 355 923 564 837 931 520 ÷ 2 = 1 177 961 782 418 965 760 + 0;
  • 1 177 961 782 418 965 760 ÷ 2 = 588 980 891 209 482 880 + 0;
  • 588 980 891 209 482 880 ÷ 2 = 294 490 445 604 741 440 + 0;
  • 294 490 445 604 741 440 ÷ 2 = 147 245 222 802 370 720 + 0;
  • 147 245 222 802 370 720 ÷ 2 = 73 622 611 401 185 360 + 0;
  • 73 622 611 401 185 360 ÷ 2 = 36 811 305 700 592 680 + 0;
  • 36 811 305 700 592 680 ÷ 2 = 18 405 652 850 296 340 + 0;
  • 18 405 652 850 296 340 ÷ 2 = 9 202 826 425 148 170 + 0;
  • 9 202 826 425 148 170 ÷ 2 = 4 601 413 212 574 085 + 0;
  • 4 601 413 212 574 085 ÷ 2 = 2 300 706 606 287 042 + 1;
  • 2 300 706 606 287 042 ÷ 2 = 1 150 353 303 143 521 + 0;
  • 1 150 353 303 143 521 ÷ 2 = 575 176 651 571 760 + 1;
  • 575 176 651 571 760 ÷ 2 = 287 588 325 785 880 + 0;
  • 287 588 325 785 880 ÷ 2 = 143 794 162 892 940 + 0;
  • 143 794 162 892 940 ÷ 2 = 71 897 081 446 470 + 0;
  • 71 897 081 446 470 ÷ 2 = 35 948 540 723 235 + 0;
  • 35 948 540 723 235 ÷ 2 = 17 974 270 361 617 + 1;
  • 17 974 270 361 617 ÷ 2 = 8 987 135 180 808 + 1;
  • 8 987 135 180 808 ÷ 2 = 4 493 567 590 404 + 0;
  • 4 493 567 590 404 ÷ 2 = 2 246 783 795 202 + 0;
  • 2 246 783 795 202 ÷ 2 = 1 123 391 897 601 + 0;
  • 1 123 391 897 601 ÷ 2 = 561 695 948 800 + 1;
  • 561 695 948 800 ÷ 2 = 280 847 974 400 + 0;
  • 280 847 974 400 ÷ 2 = 140 423 987 200 + 0;
  • 140 423 987 200 ÷ 2 = 70 211 993 600 + 0;
  • 70 211 993 600 ÷ 2 = 35 105 996 800 + 0;
  • 35 105 996 800 ÷ 2 = 17 552 998 400 + 0;
  • 17 552 998 400 ÷ 2 = 8 776 499 200 + 0;
  • 8 776 499 200 ÷ 2 = 4 388 249 600 + 0;
  • 4 388 249 600 ÷ 2 = 2 194 124 800 + 0;
  • 2 194 124 800 ÷ 2 = 1 097 062 400 + 0;
  • 1 097 062 400 ÷ 2 = 548 531 200 + 0;
  • 548 531 200 ÷ 2 = 274 265 600 + 0;
  • 274 265 600 ÷ 2 = 137 132 800 + 0;
  • 137 132 800 ÷ 2 = 68 566 400 + 0;
  • 68 566 400 ÷ 2 = 34 283 200 + 0;
  • 34 283 200 ÷ 2 = 17 141 600 + 0;
  • 17 141 600 ÷ 2 = 8 570 800 + 0;
  • 8 570 800 ÷ 2 = 4 285 400 + 0;
  • 4 285 400 ÷ 2 = 2 142 700 + 0;
  • 2 142 700 ÷ 2 = 1 071 350 + 0;
  • 1 071 350 ÷ 2 = 535 675 + 0;
  • 535 675 ÷ 2 = 267 837 + 1;
  • 267 837 ÷ 2 = 133 918 + 1;
  • 133 918 ÷ 2 = 66 959 + 0;
  • 66 959 ÷ 2 = 33 479 + 1;
  • 33 479 ÷ 2 = 16 739 + 1;
  • 16 739 ÷ 2 = 8 369 + 1;
  • 8 369 ÷ 2 = 4 184 + 1;
  • 4 184 ÷ 2 = 2 092 + 0;
  • 2 092 ÷ 2 = 1 046 + 0;
  • 1 046 ÷ 2 = 523 + 0;
  • 523 ÷ 2 = 261 + 1;
  • 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;

3. Construct the base 2 representation of the positive number.

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

25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095(10) =


100 0001 0110 0011 1101 1000 0000 0000 0000 0000 0100 0110 0001 0100 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 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111(2)


4. Normalize the binary representation of the number.

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


25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095(10) =


100 0001 0110 0011 1101 1000 0000 0000 0000 0000 0100 0110 0001 0100 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 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111(2) =


100 0001 0110 0011 1101 1000 0000 0000 0000 0000 0100 0110 0001 0100 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 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111(2) × 20 =


1.0000 0101 1000 1111 0110 0000 0000 0000 0000 0001 0001 1000 0101 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 0000 0000 0000 0000 0000 0000 0000 0000 0011 1111 11(2) × 2194


5. 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): 194


Mantissa (not normalized):
1.0000 0101 1000 1111 0110 0000 0000 0000 0000 0001 0001 1000 0101 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 0000 0000 0000 0000 0000 0000 0000 0000 0011 1111 11


6. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


194 + 2(11-1) - 1 =


(194 + 1 023)(10) =


1 217(10)


7. 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 217 ÷ 2 = 608 + 1;
  • 608 ÷ 2 = 304 + 0;
  • 304 ÷ 2 = 152 + 0;
  • 152 ÷ 2 = 76 + 0;
  • 76 ÷ 2 = 38 + 0;
  • 38 ÷ 2 = 19 + 0;
  • 19 ÷ 2 = 9 + 1;
  • 9 ÷ 2 = 4 + 1;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

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

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


Exponent (adjusted) =


1217(10) =


100 1100 0001(2)


9. 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 1000 1111 0110 0000 0000 0000 0000 0001 0001 1000 0101 00 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 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111 =


0000 0101 1000 1111 0110 0000 0000 0000 0000 0001 0001 1000 0101


10. The three elements that make up the number's 64 bit double precision IEEE 754 binary floating point representation:

Sign (1 bit) =
1 (a negative number)


Exponent (11 bits) =
100 1100 0001


Mantissa (52 bits) =
0000 0101 1000 1111 0110 0000 0000 0000 0000 0001 0001 1000 0101


Decimal number -25 653 735 901 691 723 904 338 463 203 970 630 422 080 959 452 704 239 780 095 converted to 64 bit double precision IEEE 754 binary floating point representation:

1 - 100 1100 0001 - 0000 0101 1000 1111 0110 0000 0000 0000 0000 0001 0001 1000 0101


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