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

Convert decimal 100 000 001 111 110 111 100 000 000 000 000 000 000 000 000 000 000 000 000 000 257(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 000 001 111 110 111 100 000 000 000 000 000 000 000 000 000 000 000 000 000 257(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 000 001 111 110 111 100 000 000 000 000 000 000 000 000 000 000 000 000 000 257 ÷ 2 = 50 000 000 555 555 055 550 000 000 000 000 000 000 000 000 000 000 000 000 000 128 + 1;
  • 50 000 000 555 555 055 550 000 000 000 000 000 000 000 000 000 000 000 000 000 128 ÷ 2 = 25 000 000 277 777 527 775 000 000 000 000 000 000 000 000 000 000 000 000 000 064 + 0;
  • 25 000 000 277 777 527 775 000 000 000 000 000 000 000 000 000 000 000 000 000 064 ÷ 2 = 12 500 000 138 888 763 887 500 000 000 000 000 000 000 000 000 000 000 000 000 032 + 0;
  • 12 500 000 138 888 763 887 500 000 000 000 000 000 000 000 000 000 000 000 000 032 ÷ 2 = 6 250 000 069 444 381 943 750 000 000 000 000 000 000 000 000 000 000 000 000 016 + 0;
  • 6 250 000 069 444 381 943 750 000 000 000 000 000 000 000 000 000 000 000 000 016 ÷ 2 = 3 125 000 034 722 190 971 875 000 000 000 000 000 000 000 000 000 000 000 000 008 + 0;
  • 3 125 000 034 722 190 971 875 000 000 000 000 000 000 000 000 000 000 000 000 008 ÷ 2 = 1 562 500 017 361 095 485 937 500 000 000 000 000 000 000 000 000 000 000 000 004 + 0;
  • 1 562 500 017 361 095 485 937 500 000 000 000 000 000 000 000 000 000 000 000 004 ÷ 2 = 781 250 008 680 547 742 968 750 000 000 000 000 000 000 000 000 000 000 000 002 + 0;
  • 781 250 008 680 547 742 968 750 000 000 000 000 000 000 000 000 000 000 000 002 ÷ 2 = 390 625 004 340 273 871 484 375 000 000 000 000 000 000 000 000 000 000 000 001 + 0;
  • 390 625 004 340 273 871 484 375 000 000 000 000 000 000 000 000 000 000 000 001 ÷ 2 = 195 312 502 170 136 935 742 187 500 000 000 000 000 000 000 000 000 000 000 000 + 1;
  • 195 312 502 170 136 935 742 187 500 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 97 656 251 085 068 467 871 093 750 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 97 656 251 085 068 467 871 093 750 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 48 828 125 542 534 233 935 546 875 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 48 828 125 542 534 233 935 546 875 000 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 24 414 062 771 267 116 967 773 437 500 000 000 000 000 000 000 000 000 000 000 + 0;
  • 24 414 062 771 267 116 967 773 437 500 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 12 207 031 385 633 558 483 886 718 750 000 000 000 000 000 000 000 000 000 000 + 0;
  • 12 207 031 385 633 558 483 886 718 750 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 6 103 515 692 816 779 241 943 359 375 000 000 000 000 000 000 000 000 000 000 + 0;
  • 6 103 515 692 816 779 241 943 359 375 000 000 000 000 000 000 000 000 000 000 ÷ 2 = 3 051 757 846 408 389 620 971 679 687 500 000 000 000 000 000 000 000 000 000 + 0;
  • 3 051 757 846 408 389 620 971 679 687 500 000 000 000 000 000 000 000 000 000 ÷ 2 = 1 525 878 923 204 194 810 485 839 843 750 000 000 000 000 000 000 000 000 000 + 0;
  • 1 525 878 923 204 194 810 485 839 843 750 000 000 000 000 000 000 000 000 000 ÷ 2 = 762 939 461 602 097 405 242 919 921 875 000 000 000 000 000 000 000 000 000 + 0;
  • 762 939 461 602 097 405 242 919 921 875 000 000 000 000 000 000 000 000 000 ÷ 2 = 381 469 730 801 048 702 621 459 960 937 500 000 000 000 000 000 000 000 000 + 0;
  • 381 469 730 801 048 702 621 459 960 937 500 000 000 000 000 000 000 000 000 ÷ 2 = 190 734 865 400 524 351 310 729 980 468 750 000 000 000 000 000 000 000 000 + 0;
  • 190 734 865 400 524 351 310 729 980 468 750 000 000 000 000 000 000 000 000 ÷ 2 = 95 367 432 700 262 175 655 364 990 234 375 000 000 000 000 000 000 000 000 + 0;
  • 95 367 432 700 262 175 655 364 990 234 375 000 000 000 000 000 000 000 000 ÷ 2 = 47 683 716 350 131 087 827 682 495 117 187 500 000 000 000 000 000 000 000 + 0;
  • 47 683 716 350 131 087 827 682 495 117 187 500 000 000 000 000 000 000 000 ÷ 2 = 23 841 858 175 065 543 913 841 247 558 593 750 000 000 000 000 000 000 000 + 0;
  • 23 841 858 175 065 543 913 841 247 558 593 750 000 000 000 000 000 000 000 ÷ 2 = 11 920 929 087 532 771 956 920 623 779 296 875 000 000 000 000 000 000 000 + 0;
  • 11 920 929 087 532 771 956 920 623 779 296 875 000 000 000 000 000 000 000 ÷ 2 = 5 960 464 543 766 385 978 460 311 889 648 437 500 000 000 000 000 000 000 + 0;
  • 5 960 464 543 766 385 978 460 311 889 648 437 500 000 000 000 000 000 000 ÷ 2 = 2 980 232 271 883 192 989 230 155 944 824 218 750 000 000 000 000 000 000 + 0;
  • 2 980 232 271 883 192 989 230 155 944 824 218 750 000 000 000 000 000 000 ÷ 2 = 1 490 116 135 941 596 494 615 077 972 412 109 375 000 000 000 000 000 000 + 0;
  • 1 490 116 135 941 596 494 615 077 972 412 109 375 000 000 000 000 000 000 ÷ 2 = 745 058 067 970 798 247 307 538 986 206 054 687 500 000 000 000 000 000 + 0;
  • 745 058 067 970 798 247 307 538 986 206 054 687 500 000 000 000 000 000 ÷ 2 = 372 529 033 985 399 123 653 769 493 103 027 343 750 000 000 000 000 000 + 0;
  • 372 529 033 985 399 123 653 769 493 103 027 343 750 000 000 000 000 000 ÷ 2 = 186 264 516 992 699 561 826 884 746 551 513 671 875 000 000 000 000 000 + 0;
  • 186 264 516 992 699 561 826 884 746 551 513 671 875 000 000 000 000 000 ÷ 2 = 93 132 258 496 349 780 913 442 373 275 756 835 937 500 000 000 000 000 + 0;
  • 93 132 258 496 349 780 913 442 373 275 756 835 937 500 000 000 000 000 ÷ 2 = 46 566 129 248 174 890 456 721 186 637 878 417 968 750 000 000 000 000 + 0;
  • 46 566 129 248 174 890 456 721 186 637 878 417 968 750 000 000 000 000 ÷ 2 = 23 283 064 624 087 445 228 360 593 318 939 208 984 375 000 000 000 000 + 0;
  • 23 283 064 624 087 445 228 360 593 318 939 208 984 375 000 000 000 000 ÷ 2 = 11 641 532 312 043 722 614 180 296 659 469 604 492 187 500 000 000 000 + 0;
  • 11 641 532 312 043 722 614 180 296 659 469 604 492 187 500 000 000 000 ÷ 2 = 5 820 766 156 021 861 307 090 148 329 734 802 246 093 750 000 000 000 + 0;
  • 5 820 766 156 021 861 307 090 148 329 734 802 246 093 750 000 000 000 ÷ 2 = 2 910 383 078 010 930 653 545 074 164 867 401 123 046 875 000 000 000 + 0;
  • 2 910 383 078 010 930 653 545 074 164 867 401 123 046 875 000 000 000 ÷ 2 = 1 455 191 539 005 465 326 772 537 082 433 700 561 523 437 500 000 000 + 0;
  • 1 455 191 539 005 465 326 772 537 082 433 700 561 523 437 500 000 000 ÷ 2 = 727 595 769 502 732 663 386 268 541 216 850 280 761 718 750 000 000 + 0;
  • 727 595 769 502 732 663 386 268 541 216 850 280 761 718 750 000 000 ÷ 2 = 363 797 884 751 366 331 693 134 270 608 425 140 380 859 375 000 000 + 0;
  • 363 797 884 751 366 331 693 134 270 608 425 140 380 859 375 000 000 ÷ 2 = 181 898 942 375 683 165 846 567 135 304 212 570 190 429 687 500 000 + 0;
  • 181 898 942 375 683 165 846 567 135 304 212 570 190 429 687 500 000 ÷ 2 = 90 949 471 187 841 582 923 283 567 652 106 285 095 214 843 750 000 + 0;
  • 90 949 471 187 841 582 923 283 567 652 106 285 095 214 843 750 000 ÷ 2 = 45 474 735 593 920 791 461 641 783 826 053 142 547 607 421 875 000 + 0;
  • 45 474 735 593 920 791 461 641 783 826 053 142 547 607 421 875 000 ÷ 2 = 22 737 367 796 960 395 730 820 891 913 026 571 273 803 710 937 500 + 0;
  • 22 737 367 796 960 395 730 820 891 913 026 571 273 803 710 937 500 ÷ 2 = 11 368 683 898 480 197 865 410 445 956 513 285 636 901 855 468 750 + 0;
  • 11 368 683 898 480 197 865 410 445 956 513 285 636 901 855 468 750 ÷ 2 = 5 684 341 949 240 098 932 705 222 978 256 642 818 450 927 734 375 + 0;
  • 5 684 341 949 240 098 932 705 222 978 256 642 818 450 927 734 375 ÷ 2 = 2 842 170 974 620 049 466 352 611 489 128 321 409 225 463 867 187 + 1;
  • 2 842 170 974 620 049 466 352 611 489 128 321 409 225 463 867 187 ÷ 2 = 1 421 085 487 310 024 733 176 305 744 564 160 704 612 731 933 593 + 1;
  • 1 421 085 487 310 024 733 176 305 744 564 160 704 612 731 933 593 ÷ 2 = 710 542 743 655 012 366 588 152 872 282 080 352 306 365 966 796 + 1;
  • 710 542 743 655 012 366 588 152 872 282 080 352 306 365 966 796 ÷ 2 = 355 271 371 827 506 183 294 076 436 141 040 176 153 182 983 398 + 0;
  • 355 271 371 827 506 183 294 076 436 141 040 176 153 182 983 398 ÷ 2 = 177 635 685 913 753 091 647 038 218 070 520 088 076 591 491 699 + 0;
  • 177 635 685 913 753 091 647 038 218 070 520 088 076 591 491 699 ÷ 2 = 88 817 842 956 876 545 823 519 109 035 260 044 038 295 745 849 + 1;
  • 88 817 842 956 876 545 823 519 109 035 260 044 038 295 745 849 ÷ 2 = 44 408 921 478 438 272 911 759 554 517 630 022 019 147 872 924 + 1;
  • 44 408 921 478 438 272 911 759 554 517 630 022 019 147 872 924 ÷ 2 = 22 204 460 739 219 136 455 879 777 258 815 011 009 573 936 462 + 0;
  • 22 204 460 739 219 136 455 879 777 258 815 011 009 573 936 462 ÷ 2 = 11 102 230 369 609 568 227 939 888 629 407 505 504 786 968 231 + 0;
  • 11 102 230 369 609 568 227 939 888 629 407 505 504 786 968 231 ÷ 2 = 5 551 115 184 804 784 113 969 944 314 703 752 752 393 484 115 + 1;
  • 5 551 115 184 804 784 113 969 944 314 703 752 752 393 484 115 ÷ 2 = 2 775 557 592 402 392 056 984 972 157 351 876 376 196 742 057 + 1;
  • 2 775 557 592 402 392 056 984 972 157 351 876 376 196 742 057 ÷ 2 = 1 387 778 796 201 196 028 492 486 078 675 938 188 098 371 028 + 1;
  • 1 387 778 796 201 196 028 492 486 078 675 938 188 098 371 028 ÷ 2 = 693 889 398 100 598 014 246 243 039 337 969 094 049 185 514 + 0;
  • 693 889 398 100 598 014 246 243 039 337 969 094 049 185 514 ÷ 2 = 346 944 699 050 299 007 123 121 519 668 984 547 024 592 757 + 0;
  • 346 944 699 050 299 007 123 121 519 668 984 547 024 592 757 ÷ 2 = 173 472 349 525 149 503 561 560 759 834 492 273 512 296 378 + 1;
  • 173 472 349 525 149 503 561 560 759 834 492 273 512 296 378 ÷ 2 = 86 736 174 762 574 751 780 780 379 917 246 136 756 148 189 + 0;
  • 86 736 174 762 574 751 780 780 379 917 246 136 756 148 189 ÷ 2 = 43 368 087 381 287 375 890 390 189 958 623 068 378 074 094 + 1;
  • 43 368 087 381 287 375 890 390 189 958 623 068 378 074 094 ÷ 2 = 21 684 043 690 643 687 945 195 094 979 311 534 189 037 047 + 0;
  • 21 684 043 690 643 687 945 195 094 979 311 534 189 037 047 ÷ 2 = 10 842 021 845 321 843 972 597 547 489 655 767 094 518 523 + 1;
  • 10 842 021 845 321 843 972 597 547 489 655 767 094 518 523 ÷ 2 = 5 421 010 922 660 921 986 298 773 744 827 883 547 259 261 + 1;
  • 5 421 010 922 660 921 986 298 773 744 827 883 547 259 261 ÷ 2 = 2 710 505 461 330 460 993 149 386 872 413 941 773 629 630 + 1;
  • 2 710 505 461 330 460 993 149 386 872 413 941 773 629 630 ÷ 2 = 1 355 252 730 665 230 496 574 693 436 206 970 886 814 815 + 0;
  • 1 355 252 730 665 230 496 574 693 436 206 970 886 814 815 ÷ 2 = 677 626 365 332 615 248 287 346 718 103 485 443 407 407 + 1;
  • 677 626 365 332 615 248 287 346 718 103 485 443 407 407 ÷ 2 = 338 813 182 666 307 624 143 673 359 051 742 721 703 703 + 1;
  • 338 813 182 666 307 624 143 673 359 051 742 721 703 703 ÷ 2 = 169 406 591 333 153 812 071 836 679 525 871 360 851 851 + 1;
  • 169 406 591 333 153 812 071 836 679 525 871 360 851 851 ÷ 2 = 84 703 295 666 576 906 035 918 339 762 935 680 425 925 + 1;
  • 84 703 295 666 576 906 035 918 339 762 935 680 425 925 ÷ 2 = 42 351 647 833 288 453 017 959 169 881 467 840 212 962 + 1;
  • 42 351 647 833 288 453 017 959 169 881 467 840 212 962 ÷ 2 = 21 175 823 916 644 226 508 979 584 940 733 920 106 481 + 0;
  • 21 175 823 916 644 226 508 979 584 940 733 920 106 481 ÷ 2 = 10 587 911 958 322 113 254 489 792 470 366 960 053 240 + 1;
  • 10 587 911 958 322 113 254 489 792 470 366 960 053 240 ÷ 2 = 5 293 955 979 161 056 627 244 896 235 183 480 026 620 + 0;
  • 5 293 955 979 161 056 627 244 896 235 183 480 026 620 ÷ 2 = 2 646 977 989 580 528 313 622 448 117 591 740 013 310 + 0;
  • 2 646 977 989 580 528 313 622 448 117 591 740 013 310 ÷ 2 = 1 323 488 994 790 264 156 811 224 058 795 870 006 655 + 0;
  • 1 323 488 994 790 264 156 811 224 058 795 870 006 655 ÷ 2 = 661 744 497 395 132 078 405 612 029 397 935 003 327 + 1;
  • 661 744 497 395 132 078 405 612 029 397 935 003 327 ÷ 2 = 330 872 248 697 566 039 202 806 014 698 967 501 663 + 1;
  • 330 872 248 697 566 039 202 806 014 698 967 501 663 ÷ 2 = 165 436 124 348 783 019 601 403 007 349 483 750 831 + 1;
  • 165 436 124 348 783 019 601 403 007 349 483 750 831 ÷ 2 = 82 718 062 174 391 509 800 701 503 674 741 875 415 + 1;
  • 82 718 062 174 391 509 800 701 503 674 741 875 415 ÷ 2 = 41 359 031 087 195 754 900 350 751 837 370 937 707 + 1;
  • 41 359 031 087 195 754 900 350 751 837 370 937 707 ÷ 2 = 20 679 515 543 597 877 450 175 375 918 685 468 853 + 1;
  • 20 679 515 543 597 877 450 175 375 918 685 468 853 ÷ 2 = 10 339 757 771 798 938 725 087 687 959 342 734 426 + 1;
  • 10 339 757 771 798 938 725 087 687 959 342 734 426 ÷ 2 = 5 169 878 885 899 469 362 543 843 979 671 367 213 + 0;
  • 5 169 878 885 899 469 362 543 843 979 671 367 213 ÷ 2 = 2 584 939 442 949 734 681 271 921 989 835 683 606 + 1;
  • 2 584 939 442 949 734 681 271 921 989 835 683 606 ÷ 2 = 1 292 469 721 474 867 340 635 960 994 917 841 803 + 0;
  • 1 292 469 721 474 867 340 635 960 994 917 841 803 ÷ 2 = 646 234 860 737 433 670 317 980 497 458 920 901 + 1;
  • 646 234 860 737 433 670 317 980 497 458 920 901 ÷ 2 = 323 117 430 368 716 835 158 990 248 729 460 450 + 1;
  • 323 117 430 368 716 835 158 990 248 729 460 450 ÷ 2 = 161 558 715 184 358 417 579 495 124 364 730 225 + 0;
  • 161 558 715 184 358 417 579 495 124 364 730 225 ÷ 2 = 80 779 357 592 179 208 789 747 562 182 365 112 + 1;
  • 80 779 357 592 179 208 789 747 562 182 365 112 ÷ 2 = 40 389 678 796 089 604 394 873 781 091 182 556 + 0;
  • 40 389 678 796 089 604 394 873 781 091 182 556 ÷ 2 = 20 194 839 398 044 802 197 436 890 545 591 278 + 0;
  • 20 194 839 398 044 802 197 436 890 545 591 278 ÷ 2 = 10 097 419 699 022 401 098 718 445 272 795 639 + 0;
  • 10 097 419 699 022 401 098 718 445 272 795 639 ÷ 2 = 5 048 709 849 511 200 549 359 222 636 397 819 + 1;
  • 5 048 709 849 511 200 549 359 222 636 397 819 ÷ 2 = 2 524 354 924 755 600 274 679 611 318 198 909 + 1;
  • 2 524 354 924 755 600 274 679 611 318 198 909 ÷ 2 = 1 262 177 462 377 800 137 339 805 659 099 454 + 1;
  • 1 262 177 462 377 800 137 339 805 659 099 454 ÷ 2 = 631 088 731 188 900 068 669 902 829 549 727 + 0;
  • 631 088 731 188 900 068 669 902 829 549 727 ÷ 2 = 315 544 365 594 450 034 334 951 414 774 863 + 1;
  • 315 544 365 594 450 034 334 951 414 774 863 ÷ 2 = 157 772 182 797 225 017 167 475 707 387 431 + 1;
  • 157 772 182 797 225 017 167 475 707 387 431 ÷ 2 = 78 886 091 398 612 508 583 737 853 693 715 + 1;
  • 78 886 091 398 612 508 583 737 853 693 715 ÷ 2 = 39 443 045 699 306 254 291 868 926 846 857 + 1;
  • 39 443 045 699 306 254 291 868 926 846 857 ÷ 2 = 19 721 522 849 653 127 145 934 463 423 428 + 1;
  • 19 721 522 849 653 127 145 934 463 423 428 ÷ 2 = 9 860 761 424 826 563 572 967 231 711 714 + 0;
  • 9 860 761 424 826 563 572 967 231 711 714 ÷ 2 = 4 930 380 712 413 281 786 483 615 855 857 + 0;
  • 4 930 380 712 413 281 786 483 615 855 857 ÷ 2 = 2 465 190 356 206 640 893 241 807 927 928 + 1;
  • 2 465 190 356 206 640 893 241 807 927 928 ÷ 2 = 1 232 595 178 103 320 446 620 903 963 964 + 0;
  • 1 232 595 178 103 320 446 620 903 963 964 ÷ 2 = 616 297 589 051 660 223 310 451 981 982 + 0;
  • 616 297 589 051 660 223 310 451 981 982 ÷ 2 = 308 148 794 525 830 111 655 225 990 991 + 0;
  • 308 148 794 525 830 111 655 225 990 991 ÷ 2 = 154 074 397 262 915 055 827 612 995 495 + 1;
  • 154 074 397 262 915 055 827 612 995 495 ÷ 2 = 77 037 198 631 457 527 913 806 497 747 + 1;
  • 77 037 198 631 457 527 913 806 497 747 ÷ 2 = 38 518 599 315 728 763 956 903 248 873 + 1;
  • 38 518 599 315 728 763 956 903 248 873 ÷ 2 = 19 259 299 657 864 381 978 451 624 436 + 1;
  • 19 259 299 657 864 381 978 451 624 436 ÷ 2 = 9 629 649 828 932 190 989 225 812 218 + 0;
  • 9 629 649 828 932 190 989 225 812 218 ÷ 2 = 4 814 824 914 466 095 494 612 906 109 + 0;
  • 4 814 824 914 466 095 494 612 906 109 ÷ 2 = 2 407 412 457 233 047 747 306 453 054 + 1;
  • 2 407 412 457 233 047 747 306 453 054 ÷ 2 = 1 203 706 228 616 523 873 653 226 527 + 0;
  • 1 203 706 228 616 523 873 653 226 527 ÷ 2 = 601 853 114 308 261 936 826 613 263 + 1;
  • 601 853 114 308 261 936 826 613 263 ÷ 2 = 300 926 557 154 130 968 413 306 631 + 1;
  • 300 926 557 154 130 968 413 306 631 ÷ 2 = 150 463 278 577 065 484 206 653 315 + 1;
  • 150 463 278 577 065 484 206 653 315 ÷ 2 = 75 231 639 288 532 742 103 326 657 + 1;
  • 75 231 639 288 532 742 103 326 657 ÷ 2 = 37 615 819 644 266 371 051 663 328 + 1;
  • 37 615 819 644 266 371 051 663 328 ÷ 2 = 18 807 909 822 133 185 525 831 664 + 0;
  • 18 807 909 822 133 185 525 831 664 ÷ 2 = 9 403 954 911 066 592 762 915 832 + 0;
  • 9 403 954 911 066 592 762 915 832 ÷ 2 = 4 701 977 455 533 296 381 457 916 + 0;
  • 4 701 977 455 533 296 381 457 916 ÷ 2 = 2 350 988 727 766 648 190 728 958 + 0;
  • 2 350 988 727 766 648 190 728 958 ÷ 2 = 1 175 494 363 883 324 095 364 479 + 0;
  • 1 175 494 363 883 324 095 364 479 ÷ 2 = 587 747 181 941 662 047 682 239 + 1;
  • 587 747 181 941 662 047 682 239 ÷ 2 = 293 873 590 970 831 023 841 119 + 1;
  • 293 873 590 970 831 023 841 119 ÷ 2 = 146 936 795 485 415 511 920 559 + 1;
  • 146 936 795 485 415 511 920 559 ÷ 2 = 73 468 397 742 707 755 960 279 + 1;
  • 73 468 397 742 707 755 960 279 ÷ 2 = 36 734 198 871 353 877 980 139 + 1;
  • 36 734 198 871 353 877 980 139 ÷ 2 = 18 367 099 435 676 938 990 069 + 1;
  • 18 367 099 435 676 938 990 069 ÷ 2 = 9 183 549 717 838 469 495 034 + 1;
  • 9 183 549 717 838 469 495 034 ÷ 2 = 4 591 774 858 919 234 747 517 + 0;
  • 4 591 774 858 919 234 747 517 ÷ 2 = 2 295 887 429 459 617 373 758 + 1;
  • 2 295 887 429 459 617 373 758 ÷ 2 = 1 147 943 714 729 808 686 879 + 0;
  • 1 147 943 714 729 808 686 879 ÷ 2 = 573 971 857 364 904 343 439 + 1;
  • 573 971 857 364 904 343 439 ÷ 2 = 286 985 928 682 452 171 719 + 1;
  • 286 985 928 682 452 171 719 ÷ 2 = 143 492 964 341 226 085 859 + 1;
  • 143 492 964 341 226 085 859 ÷ 2 = 71 746 482 170 613 042 929 + 1;
  • 71 746 482 170 613 042 929 ÷ 2 = 35 873 241 085 306 521 464 + 1;
  • 35 873 241 085 306 521 464 ÷ 2 = 17 936 620 542 653 260 732 + 0;
  • 17 936 620 542 653 260 732 ÷ 2 = 8 968 310 271 326 630 366 + 0;
  • 8 968 310 271 326 630 366 ÷ 2 = 4 484 155 135 663 315 183 + 0;
  • 4 484 155 135 663 315 183 ÷ 2 = 2 242 077 567 831 657 591 + 1;
  • 2 242 077 567 831 657 591 ÷ 2 = 1 121 038 783 915 828 795 + 1;
  • 1 121 038 783 915 828 795 ÷ 2 = 560 519 391 957 914 397 + 1;
  • 560 519 391 957 914 397 ÷ 2 = 280 259 695 978 957 198 + 1;
  • 280 259 695 978 957 198 ÷ 2 = 140 129 847 989 478 599 + 0;
  • 140 129 847 989 478 599 ÷ 2 = 70 064 923 994 739 299 + 1;
  • 70 064 923 994 739 299 ÷ 2 = 35 032 461 997 369 649 + 1;
  • 35 032 461 997 369 649 ÷ 2 = 17 516 230 998 684 824 + 1;
  • 17 516 230 998 684 824 ÷ 2 = 8 758 115 499 342 412 + 0;
  • 8 758 115 499 342 412 ÷ 2 = 4 379 057 749 671 206 + 0;
  • 4 379 057 749 671 206 ÷ 2 = 2 189 528 874 835 603 + 0;
  • 2 189 528 874 835 603 ÷ 2 = 1 094 764 437 417 801 + 1;
  • 1 094 764 437 417 801 ÷ 2 = 547 382 218 708 900 + 1;
  • 547 382 218 708 900 ÷ 2 = 273 691 109 354 450 + 0;
  • 273 691 109 354 450 ÷ 2 = 136 845 554 677 225 + 0;
  • 136 845 554 677 225 ÷ 2 = 68 422 777 338 612 + 1;
  • 68 422 777 338 612 ÷ 2 = 34 211 388 669 306 + 0;
  • 34 211 388 669 306 ÷ 2 = 17 105 694 334 653 + 0;
  • 17 105 694 334 653 ÷ 2 = 8 552 847 167 326 + 1;
  • 8 552 847 167 326 ÷ 2 = 4 276 423 583 663 + 0;
  • 4 276 423 583 663 ÷ 2 = 2 138 211 791 831 + 1;
  • 2 138 211 791 831 ÷ 2 = 1 069 105 895 915 + 1;
  • 1 069 105 895 915 ÷ 2 = 534 552 947 957 + 1;
  • 534 552 947 957 ÷ 2 = 267 276 473 978 + 1;
  • 267 276 473 978 ÷ 2 = 133 638 236 989 + 0;
  • 133 638 236 989 ÷ 2 = 66 819 118 494 + 1;
  • 66 819 118 494 ÷ 2 = 33 409 559 247 + 0;
  • 33 409 559 247 ÷ 2 = 16 704 779 623 + 1;
  • 16 704 779 623 ÷ 2 = 8 352 389 811 + 1;
  • 8 352 389 811 ÷ 2 = 4 176 194 905 + 1;
  • 4 176 194 905 ÷ 2 = 2 088 097 452 + 1;
  • 2 088 097 452 ÷ 2 = 1 044 048 726 + 0;
  • 1 044 048 726 ÷ 2 = 522 024 363 + 0;
  • 522 024 363 ÷ 2 = 261 012 181 + 1;
  • 261 012 181 ÷ 2 = 130 506 090 + 1;
  • 130 506 090 ÷ 2 = 65 253 045 + 0;
  • 65 253 045 ÷ 2 = 32 626 522 + 1;
  • 32 626 522 ÷ 2 = 16 313 261 + 0;
  • 16 313 261 ÷ 2 = 8 156 630 + 1;
  • 8 156 630 ÷ 2 = 4 078 315 + 0;
  • 4 078 315 ÷ 2 = 2 039 157 + 1;
  • 2 039 157 ÷ 2 = 1 019 578 + 1;
  • 1 019 578 ÷ 2 = 509 789 + 0;
  • 509 789 ÷ 2 = 254 894 + 1;
  • 254 894 ÷ 2 = 127 447 + 0;
  • 127 447 ÷ 2 = 63 723 + 1;
  • 63 723 ÷ 2 = 31 861 + 1;
  • 31 861 ÷ 2 = 15 930 + 1;
  • 15 930 ÷ 2 = 7 965 + 0;
  • 7 965 ÷ 2 = 3 982 + 1;
  • 3 982 ÷ 2 = 1 991 + 0;
  • 1 991 ÷ 2 = 995 + 1;
  • 995 ÷ 2 = 497 + 1;
  • 497 ÷ 2 = 248 + 1;
  • 248 ÷ 2 = 124 + 0;
  • 124 ÷ 2 = 62 + 0;
  • 62 ÷ 2 = 31 + 0;
  • 31 ÷ 2 = 15 + 1;
  • 15 ÷ 2 = 7 + 1;
  • 7 ÷ 2 = 3 + 1;
  • 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.

100 000 001 111 110 111 100 000 000 000 000 000 000 000 000 000 000 000 000 000 257(10) =


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


3. Normalize the binary representation of the number.

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


100 000 001 111 110 111 100 000 000 000 000 000 000 000 000 000 000 000 000 000 257(10) =


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


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


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


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


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


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


205 + 2(11-1) - 1 =


(205 + 1 023)(10) =


1 228(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 228 ÷ 2 = 614 + 0;
  • 614 ÷ 2 = 307 + 0;
  • 307 ÷ 2 = 153 + 1;
  • 153 ÷ 2 = 76 + 1;
  • 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;

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) =


1228(10) =


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


1111 0001 1101 0111 0101 1010 1011 0011 1101 0111 1010 0100 1100


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 1100 1100


Mantissa (52 bits) =
1111 0001 1101 0111 0101 1010 1011 0011 1101 0111 1010 0100 1100


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

0 - 100 1100 1100 - 1111 0001 1101 0111 0101 1010 1011 0011 1101 0111 1010 0100 1100


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