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

Convert decimal 1 011 000 011 010 110 001 010 111 111 000 100 011 111 100 100 100 448(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
1 011 000 011 010 110 001 010 111 111 000 100 011 111 100 100 100 448(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;
  • 1 011 000 011 010 110 001 010 111 111 000 100 011 111 100 100 100 448 ÷ 2 = 505 500 005 505 055 000 505 055 555 500 050 005 555 550 050 050 224 + 0;
  • 505 500 005 505 055 000 505 055 555 500 050 005 555 550 050 050 224 ÷ 2 = 252 750 002 752 527 500 252 527 777 750 025 002 777 775 025 025 112 + 0;
  • 252 750 002 752 527 500 252 527 777 750 025 002 777 775 025 025 112 ÷ 2 = 126 375 001 376 263 750 126 263 888 875 012 501 388 887 512 512 556 + 0;
  • 126 375 001 376 263 750 126 263 888 875 012 501 388 887 512 512 556 ÷ 2 = 63 187 500 688 131 875 063 131 944 437 506 250 694 443 756 256 278 + 0;
  • 63 187 500 688 131 875 063 131 944 437 506 250 694 443 756 256 278 ÷ 2 = 31 593 750 344 065 937 531 565 972 218 753 125 347 221 878 128 139 + 0;
  • 31 593 750 344 065 937 531 565 972 218 753 125 347 221 878 128 139 ÷ 2 = 15 796 875 172 032 968 765 782 986 109 376 562 673 610 939 064 069 + 1;
  • 15 796 875 172 032 968 765 782 986 109 376 562 673 610 939 064 069 ÷ 2 = 7 898 437 586 016 484 382 891 493 054 688 281 336 805 469 532 034 + 1;
  • 7 898 437 586 016 484 382 891 493 054 688 281 336 805 469 532 034 ÷ 2 = 3 949 218 793 008 242 191 445 746 527 344 140 668 402 734 766 017 + 0;
  • 3 949 218 793 008 242 191 445 746 527 344 140 668 402 734 766 017 ÷ 2 = 1 974 609 396 504 121 095 722 873 263 672 070 334 201 367 383 008 + 1;
  • 1 974 609 396 504 121 095 722 873 263 672 070 334 201 367 383 008 ÷ 2 = 987 304 698 252 060 547 861 436 631 836 035 167 100 683 691 504 + 0;
  • 987 304 698 252 060 547 861 436 631 836 035 167 100 683 691 504 ÷ 2 = 493 652 349 126 030 273 930 718 315 918 017 583 550 341 845 752 + 0;
  • 493 652 349 126 030 273 930 718 315 918 017 583 550 341 845 752 ÷ 2 = 246 826 174 563 015 136 965 359 157 959 008 791 775 170 922 876 + 0;
  • 246 826 174 563 015 136 965 359 157 959 008 791 775 170 922 876 ÷ 2 = 123 413 087 281 507 568 482 679 578 979 504 395 887 585 461 438 + 0;
  • 123 413 087 281 507 568 482 679 578 979 504 395 887 585 461 438 ÷ 2 = 61 706 543 640 753 784 241 339 789 489 752 197 943 792 730 719 + 0;
  • 61 706 543 640 753 784 241 339 789 489 752 197 943 792 730 719 ÷ 2 = 30 853 271 820 376 892 120 669 894 744 876 098 971 896 365 359 + 1;
  • 30 853 271 820 376 892 120 669 894 744 876 098 971 896 365 359 ÷ 2 = 15 426 635 910 188 446 060 334 947 372 438 049 485 948 182 679 + 1;
  • 15 426 635 910 188 446 060 334 947 372 438 049 485 948 182 679 ÷ 2 = 7 713 317 955 094 223 030 167 473 686 219 024 742 974 091 339 + 1;
  • 7 713 317 955 094 223 030 167 473 686 219 024 742 974 091 339 ÷ 2 = 3 856 658 977 547 111 515 083 736 843 109 512 371 487 045 669 + 1;
  • 3 856 658 977 547 111 515 083 736 843 109 512 371 487 045 669 ÷ 2 = 1 928 329 488 773 555 757 541 868 421 554 756 185 743 522 834 + 1;
  • 1 928 329 488 773 555 757 541 868 421 554 756 185 743 522 834 ÷ 2 = 964 164 744 386 777 878 770 934 210 777 378 092 871 761 417 + 0;
  • 964 164 744 386 777 878 770 934 210 777 378 092 871 761 417 ÷ 2 = 482 082 372 193 388 939 385 467 105 388 689 046 435 880 708 + 1;
  • 482 082 372 193 388 939 385 467 105 388 689 046 435 880 708 ÷ 2 = 241 041 186 096 694 469 692 733 552 694 344 523 217 940 354 + 0;
  • 241 041 186 096 694 469 692 733 552 694 344 523 217 940 354 ÷ 2 = 120 520 593 048 347 234 846 366 776 347 172 261 608 970 177 + 0;
  • 120 520 593 048 347 234 846 366 776 347 172 261 608 970 177 ÷ 2 = 60 260 296 524 173 617 423 183 388 173 586 130 804 485 088 + 1;
  • 60 260 296 524 173 617 423 183 388 173 586 130 804 485 088 ÷ 2 = 30 130 148 262 086 808 711 591 694 086 793 065 402 242 544 + 0;
  • 30 130 148 262 086 808 711 591 694 086 793 065 402 242 544 ÷ 2 = 15 065 074 131 043 404 355 795 847 043 396 532 701 121 272 + 0;
  • 15 065 074 131 043 404 355 795 847 043 396 532 701 121 272 ÷ 2 = 7 532 537 065 521 702 177 897 923 521 698 266 350 560 636 + 0;
  • 7 532 537 065 521 702 177 897 923 521 698 266 350 560 636 ÷ 2 = 3 766 268 532 760 851 088 948 961 760 849 133 175 280 318 + 0;
  • 3 766 268 532 760 851 088 948 961 760 849 133 175 280 318 ÷ 2 = 1 883 134 266 380 425 544 474 480 880 424 566 587 640 159 + 0;
  • 1 883 134 266 380 425 544 474 480 880 424 566 587 640 159 ÷ 2 = 941 567 133 190 212 772 237 240 440 212 283 293 820 079 + 1;
  • 941 567 133 190 212 772 237 240 440 212 283 293 820 079 ÷ 2 = 470 783 566 595 106 386 118 620 220 106 141 646 910 039 + 1;
  • 470 783 566 595 106 386 118 620 220 106 141 646 910 039 ÷ 2 = 235 391 783 297 553 193 059 310 110 053 070 823 455 019 + 1;
  • 235 391 783 297 553 193 059 310 110 053 070 823 455 019 ÷ 2 = 117 695 891 648 776 596 529 655 055 026 535 411 727 509 + 1;
  • 117 695 891 648 776 596 529 655 055 026 535 411 727 509 ÷ 2 = 58 847 945 824 388 298 264 827 527 513 267 705 863 754 + 1;
  • 58 847 945 824 388 298 264 827 527 513 267 705 863 754 ÷ 2 = 29 423 972 912 194 149 132 413 763 756 633 852 931 877 + 0;
  • 29 423 972 912 194 149 132 413 763 756 633 852 931 877 ÷ 2 = 14 711 986 456 097 074 566 206 881 878 316 926 465 938 + 1;
  • 14 711 986 456 097 074 566 206 881 878 316 926 465 938 ÷ 2 = 7 355 993 228 048 537 283 103 440 939 158 463 232 969 + 0;
  • 7 355 993 228 048 537 283 103 440 939 158 463 232 969 ÷ 2 = 3 677 996 614 024 268 641 551 720 469 579 231 616 484 + 1;
  • 3 677 996 614 024 268 641 551 720 469 579 231 616 484 ÷ 2 = 1 838 998 307 012 134 320 775 860 234 789 615 808 242 + 0;
  • 1 838 998 307 012 134 320 775 860 234 789 615 808 242 ÷ 2 = 919 499 153 506 067 160 387 930 117 394 807 904 121 + 0;
  • 919 499 153 506 067 160 387 930 117 394 807 904 121 ÷ 2 = 459 749 576 753 033 580 193 965 058 697 403 952 060 + 1;
  • 459 749 576 753 033 580 193 965 058 697 403 952 060 ÷ 2 = 229 874 788 376 516 790 096 982 529 348 701 976 030 + 0;
  • 229 874 788 376 516 790 096 982 529 348 701 976 030 ÷ 2 = 114 937 394 188 258 395 048 491 264 674 350 988 015 + 0;
  • 114 937 394 188 258 395 048 491 264 674 350 988 015 ÷ 2 = 57 468 697 094 129 197 524 245 632 337 175 494 007 + 1;
  • 57 468 697 094 129 197 524 245 632 337 175 494 007 ÷ 2 = 28 734 348 547 064 598 762 122 816 168 587 747 003 + 1;
  • 28 734 348 547 064 598 762 122 816 168 587 747 003 ÷ 2 = 14 367 174 273 532 299 381 061 408 084 293 873 501 + 1;
  • 14 367 174 273 532 299 381 061 408 084 293 873 501 ÷ 2 = 7 183 587 136 766 149 690 530 704 042 146 936 750 + 1;
  • 7 183 587 136 766 149 690 530 704 042 146 936 750 ÷ 2 = 3 591 793 568 383 074 845 265 352 021 073 468 375 + 0;
  • 3 591 793 568 383 074 845 265 352 021 073 468 375 ÷ 2 = 1 795 896 784 191 537 422 632 676 010 536 734 187 + 1;
  • 1 795 896 784 191 537 422 632 676 010 536 734 187 ÷ 2 = 897 948 392 095 768 711 316 338 005 268 367 093 + 1;
  • 897 948 392 095 768 711 316 338 005 268 367 093 ÷ 2 = 448 974 196 047 884 355 658 169 002 634 183 546 + 1;
  • 448 974 196 047 884 355 658 169 002 634 183 546 ÷ 2 = 224 487 098 023 942 177 829 084 501 317 091 773 + 0;
  • 224 487 098 023 942 177 829 084 501 317 091 773 ÷ 2 = 112 243 549 011 971 088 914 542 250 658 545 886 + 1;
  • 112 243 549 011 971 088 914 542 250 658 545 886 ÷ 2 = 56 121 774 505 985 544 457 271 125 329 272 943 + 0;
  • 56 121 774 505 985 544 457 271 125 329 272 943 ÷ 2 = 28 060 887 252 992 772 228 635 562 664 636 471 + 1;
  • 28 060 887 252 992 772 228 635 562 664 636 471 ÷ 2 = 14 030 443 626 496 386 114 317 781 332 318 235 + 1;
  • 14 030 443 626 496 386 114 317 781 332 318 235 ÷ 2 = 7 015 221 813 248 193 057 158 890 666 159 117 + 1;
  • 7 015 221 813 248 193 057 158 890 666 159 117 ÷ 2 = 3 507 610 906 624 096 528 579 445 333 079 558 + 1;
  • 3 507 610 906 624 096 528 579 445 333 079 558 ÷ 2 = 1 753 805 453 312 048 264 289 722 666 539 779 + 0;
  • 1 753 805 453 312 048 264 289 722 666 539 779 ÷ 2 = 876 902 726 656 024 132 144 861 333 269 889 + 1;
  • 876 902 726 656 024 132 144 861 333 269 889 ÷ 2 = 438 451 363 328 012 066 072 430 666 634 944 + 1;
  • 438 451 363 328 012 066 072 430 666 634 944 ÷ 2 = 219 225 681 664 006 033 036 215 333 317 472 + 0;
  • 219 225 681 664 006 033 036 215 333 317 472 ÷ 2 = 109 612 840 832 003 016 518 107 666 658 736 + 0;
  • 109 612 840 832 003 016 518 107 666 658 736 ÷ 2 = 54 806 420 416 001 508 259 053 833 329 368 + 0;
  • 54 806 420 416 001 508 259 053 833 329 368 ÷ 2 = 27 403 210 208 000 754 129 526 916 664 684 + 0;
  • 27 403 210 208 000 754 129 526 916 664 684 ÷ 2 = 13 701 605 104 000 377 064 763 458 332 342 + 0;
  • 13 701 605 104 000 377 064 763 458 332 342 ÷ 2 = 6 850 802 552 000 188 532 381 729 166 171 + 0;
  • 6 850 802 552 000 188 532 381 729 166 171 ÷ 2 = 3 425 401 276 000 094 266 190 864 583 085 + 1;
  • 3 425 401 276 000 094 266 190 864 583 085 ÷ 2 = 1 712 700 638 000 047 133 095 432 291 542 + 1;
  • 1 712 700 638 000 047 133 095 432 291 542 ÷ 2 = 856 350 319 000 023 566 547 716 145 771 + 0;
  • 856 350 319 000 023 566 547 716 145 771 ÷ 2 = 428 175 159 500 011 783 273 858 072 885 + 1;
  • 428 175 159 500 011 783 273 858 072 885 ÷ 2 = 214 087 579 750 005 891 636 929 036 442 + 1;
  • 214 087 579 750 005 891 636 929 036 442 ÷ 2 = 107 043 789 875 002 945 818 464 518 221 + 0;
  • 107 043 789 875 002 945 818 464 518 221 ÷ 2 = 53 521 894 937 501 472 909 232 259 110 + 1;
  • 53 521 894 937 501 472 909 232 259 110 ÷ 2 = 26 760 947 468 750 736 454 616 129 555 + 0;
  • 26 760 947 468 750 736 454 616 129 555 ÷ 2 = 13 380 473 734 375 368 227 308 064 777 + 1;
  • 13 380 473 734 375 368 227 308 064 777 ÷ 2 = 6 690 236 867 187 684 113 654 032 388 + 1;
  • 6 690 236 867 187 684 113 654 032 388 ÷ 2 = 3 345 118 433 593 842 056 827 016 194 + 0;
  • 3 345 118 433 593 842 056 827 016 194 ÷ 2 = 1 672 559 216 796 921 028 413 508 097 + 0;
  • 1 672 559 216 796 921 028 413 508 097 ÷ 2 = 836 279 608 398 460 514 206 754 048 + 1;
  • 836 279 608 398 460 514 206 754 048 ÷ 2 = 418 139 804 199 230 257 103 377 024 + 0;
  • 418 139 804 199 230 257 103 377 024 ÷ 2 = 209 069 902 099 615 128 551 688 512 + 0;
  • 209 069 902 099 615 128 551 688 512 ÷ 2 = 104 534 951 049 807 564 275 844 256 + 0;
  • 104 534 951 049 807 564 275 844 256 ÷ 2 = 52 267 475 524 903 782 137 922 128 + 0;
  • 52 267 475 524 903 782 137 922 128 ÷ 2 = 26 133 737 762 451 891 068 961 064 + 0;
  • 26 133 737 762 451 891 068 961 064 ÷ 2 = 13 066 868 881 225 945 534 480 532 + 0;
  • 13 066 868 881 225 945 534 480 532 ÷ 2 = 6 533 434 440 612 972 767 240 266 + 0;
  • 6 533 434 440 612 972 767 240 266 ÷ 2 = 3 266 717 220 306 486 383 620 133 + 0;
  • 3 266 717 220 306 486 383 620 133 ÷ 2 = 1 633 358 610 153 243 191 810 066 + 1;
  • 1 633 358 610 153 243 191 810 066 ÷ 2 = 816 679 305 076 621 595 905 033 + 0;
  • 816 679 305 076 621 595 905 033 ÷ 2 = 408 339 652 538 310 797 952 516 + 1;
  • 408 339 652 538 310 797 952 516 ÷ 2 = 204 169 826 269 155 398 976 258 + 0;
  • 204 169 826 269 155 398 976 258 ÷ 2 = 102 084 913 134 577 699 488 129 + 0;
  • 102 084 913 134 577 699 488 129 ÷ 2 = 51 042 456 567 288 849 744 064 + 1;
  • 51 042 456 567 288 849 744 064 ÷ 2 = 25 521 228 283 644 424 872 032 + 0;
  • 25 521 228 283 644 424 872 032 ÷ 2 = 12 760 614 141 822 212 436 016 + 0;
  • 12 760 614 141 822 212 436 016 ÷ 2 = 6 380 307 070 911 106 218 008 + 0;
  • 6 380 307 070 911 106 218 008 ÷ 2 = 3 190 153 535 455 553 109 004 + 0;
  • 3 190 153 535 455 553 109 004 ÷ 2 = 1 595 076 767 727 776 554 502 + 0;
  • 1 595 076 767 727 776 554 502 ÷ 2 = 797 538 383 863 888 277 251 + 0;
  • 797 538 383 863 888 277 251 ÷ 2 = 398 769 191 931 944 138 625 + 1;
  • 398 769 191 931 944 138 625 ÷ 2 = 199 384 595 965 972 069 312 + 1;
  • 199 384 595 965 972 069 312 ÷ 2 = 99 692 297 982 986 034 656 + 0;
  • 99 692 297 982 986 034 656 ÷ 2 = 49 846 148 991 493 017 328 + 0;
  • 49 846 148 991 493 017 328 ÷ 2 = 24 923 074 495 746 508 664 + 0;
  • 24 923 074 495 746 508 664 ÷ 2 = 12 461 537 247 873 254 332 + 0;
  • 12 461 537 247 873 254 332 ÷ 2 = 6 230 768 623 936 627 166 + 0;
  • 6 230 768 623 936 627 166 ÷ 2 = 3 115 384 311 968 313 583 + 0;
  • 3 115 384 311 968 313 583 ÷ 2 = 1 557 692 155 984 156 791 + 1;
  • 1 557 692 155 984 156 791 ÷ 2 = 778 846 077 992 078 395 + 1;
  • 778 846 077 992 078 395 ÷ 2 = 389 423 038 996 039 197 + 1;
  • 389 423 038 996 039 197 ÷ 2 = 194 711 519 498 019 598 + 1;
  • 194 711 519 498 019 598 ÷ 2 = 97 355 759 749 009 799 + 0;
  • 97 355 759 749 009 799 ÷ 2 = 48 677 879 874 504 899 + 1;
  • 48 677 879 874 504 899 ÷ 2 = 24 338 939 937 252 449 + 1;
  • 24 338 939 937 252 449 ÷ 2 = 12 169 469 968 626 224 + 1;
  • 12 169 469 968 626 224 ÷ 2 = 6 084 734 984 313 112 + 0;
  • 6 084 734 984 313 112 ÷ 2 = 3 042 367 492 156 556 + 0;
  • 3 042 367 492 156 556 ÷ 2 = 1 521 183 746 078 278 + 0;
  • 1 521 183 746 078 278 ÷ 2 = 760 591 873 039 139 + 0;
  • 760 591 873 039 139 ÷ 2 = 380 295 936 519 569 + 1;
  • 380 295 936 519 569 ÷ 2 = 190 147 968 259 784 + 1;
  • 190 147 968 259 784 ÷ 2 = 95 073 984 129 892 + 0;
  • 95 073 984 129 892 ÷ 2 = 47 536 992 064 946 + 0;
  • 47 536 992 064 946 ÷ 2 = 23 768 496 032 473 + 0;
  • 23 768 496 032 473 ÷ 2 = 11 884 248 016 236 + 1;
  • 11 884 248 016 236 ÷ 2 = 5 942 124 008 118 + 0;
  • 5 942 124 008 118 ÷ 2 = 2 971 062 004 059 + 0;
  • 2 971 062 004 059 ÷ 2 = 1 485 531 002 029 + 1;
  • 1 485 531 002 029 ÷ 2 = 742 765 501 014 + 1;
  • 742 765 501 014 ÷ 2 = 371 382 750 507 + 0;
  • 371 382 750 507 ÷ 2 = 185 691 375 253 + 1;
  • 185 691 375 253 ÷ 2 = 92 845 687 626 + 1;
  • 92 845 687 626 ÷ 2 = 46 422 843 813 + 0;
  • 46 422 843 813 ÷ 2 = 23 211 421 906 + 1;
  • 23 211 421 906 ÷ 2 = 11 605 710 953 + 0;
  • 11 605 710 953 ÷ 2 = 5 802 855 476 + 1;
  • 5 802 855 476 ÷ 2 = 2 901 427 738 + 0;
  • 2 901 427 738 ÷ 2 = 1 450 713 869 + 0;
  • 1 450 713 869 ÷ 2 = 725 356 934 + 1;
  • 725 356 934 ÷ 2 = 362 678 467 + 0;
  • 362 678 467 ÷ 2 = 181 339 233 + 1;
  • 181 339 233 ÷ 2 = 90 669 616 + 1;
  • 90 669 616 ÷ 2 = 45 334 808 + 0;
  • 45 334 808 ÷ 2 = 22 667 404 + 0;
  • 22 667 404 ÷ 2 = 11 333 702 + 0;
  • 11 333 702 ÷ 2 = 5 666 851 + 0;
  • 5 666 851 ÷ 2 = 2 833 425 + 1;
  • 2 833 425 ÷ 2 = 1 416 712 + 1;
  • 1 416 712 ÷ 2 = 708 356 + 0;
  • 708 356 ÷ 2 = 354 178 + 0;
  • 354 178 ÷ 2 = 177 089 + 0;
  • 177 089 ÷ 2 = 88 544 + 1;
  • 88 544 ÷ 2 = 44 272 + 0;
  • 44 272 ÷ 2 = 22 136 + 0;
  • 22 136 ÷ 2 = 11 068 + 0;
  • 11 068 ÷ 2 = 5 534 + 0;
  • 5 534 ÷ 2 = 2 767 + 0;
  • 2 767 ÷ 2 = 1 383 + 1;
  • 1 383 ÷ 2 = 691 + 1;
  • 691 ÷ 2 = 345 + 1;
  • 345 ÷ 2 = 172 + 1;
  • 172 ÷ 2 = 86 + 0;
  • 86 ÷ 2 = 43 + 0;
  • 43 ÷ 2 = 21 + 1;
  • 21 ÷ 2 = 10 + 1;
  • 10 ÷ 2 = 5 + 0;
  • 5 ÷ 2 = 2 + 1;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

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

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

1 011 000 011 010 110 001 010 111 111 000 100 011 111 100 100 100 448(10) =


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


3. Normalize the binary representation of the number.

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


1 011 000 011 010 110 001 010 111 111 000 100 011 111 100 100 100 448(10) =


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


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


1.0101 1001 1110 0000 1000 1100 0011 0100 1010 1101 1001 0001 1000 0111 0111 1000 0001 1000 0001 0010 1000 0000 0100 1101 0110 1100 0000 1101 1110 1011 1011 1100 1001 0101 1111 0000 0100 1011 1110 0000 1011 0000 0(2) × 2169


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


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


5. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


169 + 2(11-1) - 1 =


(169 + 1 023)(10) =


1 192(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 192 ÷ 2 = 596 + 0;
  • 596 ÷ 2 = 298 + 0;
  • 298 ÷ 2 = 149 + 0;
  • 149 ÷ 2 = 74 + 1;
  • 74 ÷ 2 = 37 + 0;
  • 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) =


1192(10) =


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


0101 1001 1110 0000 1000 1100 0011 0100 1010 1101 1001 0001 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 1010 1000


Mantissa (52 bits) =
0101 1001 1110 0000 1000 1100 0011 0100 1010 1101 1001 0001 1000


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

0 - 100 1010 1000 - 0101 1001 1110 0000 1000 1100 0011 0100 1010 1101 1001 0001 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