-89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal -89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414(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
-89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414(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:

|-89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414| = 89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414


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;
  • 89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414 ÷ 2 = 44 882 716 061 728 394 938 271 606 172 839 493 827 161 728 394 382 707 + 0;
  • 44 882 716 061 728 394 938 271 606 172 839 493 827 161 728 394 382 707 ÷ 2 = 22 441 358 030 864 197 469 135 803 086 419 746 913 580 864 197 191 353 + 1;
  • 22 441 358 030 864 197 469 135 803 086 419 746 913 580 864 197 191 353 ÷ 2 = 11 220 679 015 432 098 734 567 901 543 209 873 456 790 432 098 595 676 + 1;
  • 11 220 679 015 432 098 734 567 901 543 209 873 456 790 432 098 595 676 ÷ 2 = 5 610 339 507 716 049 367 283 950 771 604 936 728 395 216 049 297 838 + 0;
  • 5 610 339 507 716 049 367 283 950 771 604 936 728 395 216 049 297 838 ÷ 2 = 2 805 169 753 858 024 683 641 975 385 802 468 364 197 608 024 648 919 + 0;
  • 2 805 169 753 858 024 683 641 975 385 802 468 364 197 608 024 648 919 ÷ 2 = 1 402 584 876 929 012 341 820 987 692 901 234 182 098 804 012 324 459 + 1;
  • 1 402 584 876 929 012 341 820 987 692 901 234 182 098 804 012 324 459 ÷ 2 = 701 292 438 464 506 170 910 493 846 450 617 091 049 402 006 162 229 + 1;
  • 701 292 438 464 506 170 910 493 846 450 617 091 049 402 006 162 229 ÷ 2 = 350 646 219 232 253 085 455 246 923 225 308 545 524 701 003 081 114 + 1;
  • 350 646 219 232 253 085 455 246 923 225 308 545 524 701 003 081 114 ÷ 2 = 175 323 109 616 126 542 727 623 461 612 654 272 762 350 501 540 557 + 0;
  • 175 323 109 616 126 542 727 623 461 612 654 272 762 350 501 540 557 ÷ 2 = 87 661 554 808 063 271 363 811 730 806 327 136 381 175 250 770 278 + 1;
  • 87 661 554 808 063 271 363 811 730 806 327 136 381 175 250 770 278 ÷ 2 = 43 830 777 404 031 635 681 905 865 403 163 568 190 587 625 385 139 + 0;
  • 43 830 777 404 031 635 681 905 865 403 163 568 190 587 625 385 139 ÷ 2 = 21 915 388 702 015 817 840 952 932 701 581 784 095 293 812 692 569 + 1;
  • 21 915 388 702 015 817 840 952 932 701 581 784 095 293 812 692 569 ÷ 2 = 10 957 694 351 007 908 920 476 466 350 790 892 047 646 906 346 284 + 1;
  • 10 957 694 351 007 908 920 476 466 350 790 892 047 646 906 346 284 ÷ 2 = 5 478 847 175 503 954 460 238 233 175 395 446 023 823 453 173 142 + 0;
  • 5 478 847 175 503 954 460 238 233 175 395 446 023 823 453 173 142 ÷ 2 = 2 739 423 587 751 977 230 119 116 587 697 723 011 911 726 586 571 + 0;
  • 2 739 423 587 751 977 230 119 116 587 697 723 011 911 726 586 571 ÷ 2 = 1 369 711 793 875 988 615 059 558 293 848 861 505 955 863 293 285 + 1;
  • 1 369 711 793 875 988 615 059 558 293 848 861 505 955 863 293 285 ÷ 2 = 684 855 896 937 994 307 529 779 146 924 430 752 977 931 646 642 + 1;
  • 684 855 896 937 994 307 529 779 146 924 430 752 977 931 646 642 ÷ 2 = 342 427 948 468 997 153 764 889 573 462 215 376 488 965 823 321 + 0;
  • 342 427 948 468 997 153 764 889 573 462 215 376 488 965 823 321 ÷ 2 = 171 213 974 234 498 576 882 444 786 731 107 688 244 482 911 660 + 1;
  • 171 213 974 234 498 576 882 444 786 731 107 688 244 482 911 660 ÷ 2 = 85 606 987 117 249 288 441 222 393 365 553 844 122 241 455 830 + 0;
  • 85 606 987 117 249 288 441 222 393 365 553 844 122 241 455 830 ÷ 2 = 42 803 493 558 624 644 220 611 196 682 776 922 061 120 727 915 + 0;
  • 42 803 493 558 624 644 220 611 196 682 776 922 061 120 727 915 ÷ 2 = 21 401 746 779 312 322 110 305 598 341 388 461 030 560 363 957 + 1;
  • 21 401 746 779 312 322 110 305 598 341 388 461 030 560 363 957 ÷ 2 = 10 700 873 389 656 161 055 152 799 170 694 230 515 280 181 978 + 1;
  • 10 700 873 389 656 161 055 152 799 170 694 230 515 280 181 978 ÷ 2 = 5 350 436 694 828 080 527 576 399 585 347 115 257 640 090 989 + 0;
  • 5 350 436 694 828 080 527 576 399 585 347 115 257 640 090 989 ÷ 2 = 2 675 218 347 414 040 263 788 199 792 673 557 628 820 045 494 + 1;
  • 2 675 218 347 414 040 263 788 199 792 673 557 628 820 045 494 ÷ 2 = 1 337 609 173 707 020 131 894 099 896 336 778 814 410 022 747 + 0;
  • 1 337 609 173 707 020 131 894 099 896 336 778 814 410 022 747 ÷ 2 = 668 804 586 853 510 065 947 049 948 168 389 407 205 011 373 + 1;
  • 668 804 586 853 510 065 947 049 948 168 389 407 205 011 373 ÷ 2 = 334 402 293 426 755 032 973 524 974 084 194 703 602 505 686 + 1;
  • 334 402 293 426 755 032 973 524 974 084 194 703 602 505 686 ÷ 2 = 167 201 146 713 377 516 486 762 487 042 097 351 801 252 843 + 0;
  • 167 201 146 713 377 516 486 762 487 042 097 351 801 252 843 ÷ 2 = 83 600 573 356 688 758 243 381 243 521 048 675 900 626 421 + 1;
  • 83 600 573 356 688 758 243 381 243 521 048 675 900 626 421 ÷ 2 = 41 800 286 678 344 379 121 690 621 760 524 337 950 313 210 + 1;
  • 41 800 286 678 344 379 121 690 621 760 524 337 950 313 210 ÷ 2 = 20 900 143 339 172 189 560 845 310 880 262 168 975 156 605 + 0;
  • 20 900 143 339 172 189 560 845 310 880 262 168 975 156 605 ÷ 2 = 10 450 071 669 586 094 780 422 655 440 131 084 487 578 302 + 1;
  • 10 450 071 669 586 094 780 422 655 440 131 084 487 578 302 ÷ 2 = 5 225 035 834 793 047 390 211 327 720 065 542 243 789 151 + 0;
  • 5 225 035 834 793 047 390 211 327 720 065 542 243 789 151 ÷ 2 = 2 612 517 917 396 523 695 105 663 860 032 771 121 894 575 + 1;
  • 2 612 517 917 396 523 695 105 663 860 032 771 121 894 575 ÷ 2 = 1 306 258 958 698 261 847 552 831 930 016 385 560 947 287 + 1;
  • 1 306 258 958 698 261 847 552 831 930 016 385 560 947 287 ÷ 2 = 653 129 479 349 130 923 776 415 965 008 192 780 473 643 + 1;
  • 653 129 479 349 130 923 776 415 965 008 192 780 473 643 ÷ 2 = 326 564 739 674 565 461 888 207 982 504 096 390 236 821 + 1;
  • 326 564 739 674 565 461 888 207 982 504 096 390 236 821 ÷ 2 = 163 282 369 837 282 730 944 103 991 252 048 195 118 410 + 1;
  • 163 282 369 837 282 730 944 103 991 252 048 195 118 410 ÷ 2 = 81 641 184 918 641 365 472 051 995 626 024 097 559 205 + 0;
  • 81 641 184 918 641 365 472 051 995 626 024 097 559 205 ÷ 2 = 40 820 592 459 320 682 736 025 997 813 012 048 779 602 + 1;
  • 40 820 592 459 320 682 736 025 997 813 012 048 779 602 ÷ 2 = 20 410 296 229 660 341 368 012 998 906 506 024 389 801 + 0;
  • 20 410 296 229 660 341 368 012 998 906 506 024 389 801 ÷ 2 = 10 205 148 114 830 170 684 006 499 453 253 012 194 900 + 1;
  • 10 205 148 114 830 170 684 006 499 453 253 012 194 900 ÷ 2 = 5 102 574 057 415 085 342 003 249 726 626 506 097 450 + 0;
  • 5 102 574 057 415 085 342 003 249 726 626 506 097 450 ÷ 2 = 2 551 287 028 707 542 671 001 624 863 313 253 048 725 + 0;
  • 2 551 287 028 707 542 671 001 624 863 313 253 048 725 ÷ 2 = 1 275 643 514 353 771 335 500 812 431 656 626 524 362 + 1;
  • 1 275 643 514 353 771 335 500 812 431 656 626 524 362 ÷ 2 = 637 821 757 176 885 667 750 406 215 828 313 262 181 + 0;
  • 637 821 757 176 885 667 750 406 215 828 313 262 181 ÷ 2 = 318 910 878 588 442 833 875 203 107 914 156 631 090 + 1;
  • 318 910 878 588 442 833 875 203 107 914 156 631 090 ÷ 2 = 159 455 439 294 221 416 937 601 553 957 078 315 545 + 0;
  • 159 455 439 294 221 416 937 601 553 957 078 315 545 ÷ 2 = 79 727 719 647 110 708 468 800 776 978 539 157 772 + 1;
  • 79 727 719 647 110 708 468 800 776 978 539 157 772 ÷ 2 = 39 863 859 823 555 354 234 400 388 489 269 578 886 + 0;
  • 39 863 859 823 555 354 234 400 388 489 269 578 886 ÷ 2 = 19 931 929 911 777 677 117 200 194 244 634 789 443 + 0;
  • 19 931 929 911 777 677 117 200 194 244 634 789 443 ÷ 2 = 9 965 964 955 888 838 558 600 097 122 317 394 721 + 1;
  • 9 965 964 955 888 838 558 600 097 122 317 394 721 ÷ 2 = 4 982 982 477 944 419 279 300 048 561 158 697 360 + 1;
  • 4 982 982 477 944 419 279 300 048 561 158 697 360 ÷ 2 = 2 491 491 238 972 209 639 650 024 280 579 348 680 + 0;
  • 2 491 491 238 972 209 639 650 024 280 579 348 680 ÷ 2 = 1 245 745 619 486 104 819 825 012 140 289 674 340 + 0;
  • 1 245 745 619 486 104 819 825 012 140 289 674 340 ÷ 2 = 622 872 809 743 052 409 912 506 070 144 837 170 + 0;
  • 622 872 809 743 052 409 912 506 070 144 837 170 ÷ 2 = 311 436 404 871 526 204 956 253 035 072 418 585 + 0;
  • 311 436 404 871 526 204 956 253 035 072 418 585 ÷ 2 = 155 718 202 435 763 102 478 126 517 536 209 292 + 1;
  • 155 718 202 435 763 102 478 126 517 536 209 292 ÷ 2 = 77 859 101 217 881 551 239 063 258 768 104 646 + 0;
  • 77 859 101 217 881 551 239 063 258 768 104 646 ÷ 2 = 38 929 550 608 940 775 619 531 629 384 052 323 + 0;
  • 38 929 550 608 940 775 619 531 629 384 052 323 ÷ 2 = 19 464 775 304 470 387 809 765 814 692 026 161 + 1;
  • 19 464 775 304 470 387 809 765 814 692 026 161 ÷ 2 = 9 732 387 652 235 193 904 882 907 346 013 080 + 1;
  • 9 732 387 652 235 193 904 882 907 346 013 080 ÷ 2 = 4 866 193 826 117 596 952 441 453 673 006 540 + 0;
  • 4 866 193 826 117 596 952 441 453 673 006 540 ÷ 2 = 2 433 096 913 058 798 476 220 726 836 503 270 + 0;
  • 2 433 096 913 058 798 476 220 726 836 503 270 ÷ 2 = 1 216 548 456 529 399 238 110 363 418 251 635 + 0;
  • 1 216 548 456 529 399 238 110 363 418 251 635 ÷ 2 = 608 274 228 264 699 619 055 181 709 125 817 + 1;
  • 608 274 228 264 699 619 055 181 709 125 817 ÷ 2 = 304 137 114 132 349 809 527 590 854 562 908 + 1;
  • 304 137 114 132 349 809 527 590 854 562 908 ÷ 2 = 152 068 557 066 174 904 763 795 427 281 454 + 0;
  • 152 068 557 066 174 904 763 795 427 281 454 ÷ 2 = 76 034 278 533 087 452 381 897 713 640 727 + 0;
  • 76 034 278 533 087 452 381 897 713 640 727 ÷ 2 = 38 017 139 266 543 726 190 948 856 820 363 + 1;
  • 38 017 139 266 543 726 190 948 856 820 363 ÷ 2 = 19 008 569 633 271 863 095 474 428 410 181 + 1;
  • 19 008 569 633 271 863 095 474 428 410 181 ÷ 2 = 9 504 284 816 635 931 547 737 214 205 090 + 1;
  • 9 504 284 816 635 931 547 737 214 205 090 ÷ 2 = 4 752 142 408 317 965 773 868 607 102 545 + 0;
  • 4 752 142 408 317 965 773 868 607 102 545 ÷ 2 = 2 376 071 204 158 982 886 934 303 551 272 + 1;
  • 2 376 071 204 158 982 886 934 303 551 272 ÷ 2 = 1 188 035 602 079 491 443 467 151 775 636 + 0;
  • 1 188 035 602 079 491 443 467 151 775 636 ÷ 2 = 594 017 801 039 745 721 733 575 887 818 + 0;
  • 594 017 801 039 745 721 733 575 887 818 ÷ 2 = 297 008 900 519 872 860 866 787 943 909 + 0;
  • 297 008 900 519 872 860 866 787 943 909 ÷ 2 = 148 504 450 259 936 430 433 393 971 954 + 1;
  • 148 504 450 259 936 430 433 393 971 954 ÷ 2 = 74 252 225 129 968 215 216 696 985 977 + 0;
  • 74 252 225 129 968 215 216 696 985 977 ÷ 2 = 37 126 112 564 984 107 608 348 492 988 + 1;
  • 37 126 112 564 984 107 608 348 492 988 ÷ 2 = 18 563 056 282 492 053 804 174 246 494 + 0;
  • 18 563 056 282 492 053 804 174 246 494 ÷ 2 = 9 281 528 141 246 026 902 087 123 247 + 0;
  • 9 281 528 141 246 026 902 087 123 247 ÷ 2 = 4 640 764 070 623 013 451 043 561 623 + 1;
  • 4 640 764 070 623 013 451 043 561 623 ÷ 2 = 2 320 382 035 311 506 725 521 780 811 + 1;
  • 2 320 382 035 311 506 725 521 780 811 ÷ 2 = 1 160 191 017 655 753 362 760 890 405 + 1;
  • 1 160 191 017 655 753 362 760 890 405 ÷ 2 = 580 095 508 827 876 681 380 445 202 + 1;
  • 580 095 508 827 876 681 380 445 202 ÷ 2 = 290 047 754 413 938 340 690 222 601 + 0;
  • 290 047 754 413 938 340 690 222 601 ÷ 2 = 145 023 877 206 969 170 345 111 300 + 1;
  • 145 023 877 206 969 170 345 111 300 ÷ 2 = 72 511 938 603 484 585 172 555 650 + 0;
  • 72 511 938 603 484 585 172 555 650 ÷ 2 = 36 255 969 301 742 292 586 277 825 + 0;
  • 36 255 969 301 742 292 586 277 825 ÷ 2 = 18 127 984 650 871 146 293 138 912 + 1;
  • 18 127 984 650 871 146 293 138 912 ÷ 2 = 9 063 992 325 435 573 146 569 456 + 0;
  • 9 063 992 325 435 573 146 569 456 ÷ 2 = 4 531 996 162 717 786 573 284 728 + 0;
  • 4 531 996 162 717 786 573 284 728 ÷ 2 = 2 265 998 081 358 893 286 642 364 + 0;
  • 2 265 998 081 358 893 286 642 364 ÷ 2 = 1 132 999 040 679 446 643 321 182 + 0;
  • 1 132 999 040 679 446 643 321 182 ÷ 2 = 566 499 520 339 723 321 660 591 + 0;
  • 566 499 520 339 723 321 660 591 ÷ 2 = 283 249 760 169 861 660 830 295 + 1;
  • 283 249 760 169 861 660 830 295 ÷ 2 = 141 624 880 084 930 830 415 147 + 1;
  • 141 624 880 084 930 830 415 147 ÷ 2 = 70 812 440 042 465 415 207 573 + 1;
  • 70 812 440 042 465 415 207 573 ÷ 2 = 35 406 220 021 232 707 603 786 + 1;
  • 35 406 220 021 232 707 603 786 ÷ 2 = 17 703 110 010 616 353 801 893 + 0;
  • 17 703 110 010 616 353 801 893 ÷ 2 = 8 851 555 005 308 176 900 946 + 1;
  • 8 851 555 005 308 176 900 946 ÷ 2 = 4 425 777 502 654 088 450 473 + 0;
  • 4 425 777 502 654 088 450 473 ÷ 2 = 2 212 888 751 327 044 225 236 + 1;
  • 2 212 888 751 327 044 225 236 ÷ 2 = 1 106 444 375 663 522 112 618 + 0;
  • 1 106 444 375 663 522 112 618 ÷ 2 = 553 222 187 831 761 056 309 + 0;
  • 553 222 187 831 761 056 309 ÷ 2 = 276 611 093 915 880 528 154 + 1;
  • 276 611 093 915 880 528 154 ÷ 2 = 138 305 546 957 940 264 077 + 0;
  • 138 305 546 957 940 264 077 ÷ 2 = 69 152 773 478 970 132 038 + 1;
  • 69 152 773 478 970 132 038 ÷ 2 = 34 576 386 739 485 066 019 + 0;
  • 34 576 386 739 485 066 019 ÷ 2 = 17 288 193 369 742 533 009 + 1;
  • 17 288 193 369 742 533 009 ÷ 2 = 8 644 096 684 871 266 504 + 1;
  • 8 644 096 684 871 266 504 ÷ 2 = 4 322 048 342 435 633 252 + 0;
  • 4 322 048 342 435 633 252 ÷ 2 = 2 161 024 171 217 816 626 + 0;
  • 2 161 024 171 217 816 626 ÷ 2 = 1 080 512 085 608 908 313 + 0;
  • 1 080 512 085 608 908 313 ÷ 2 = 540 256 042 804 454 156 + 1;
  • 540 256 042 804 454 156 ÷ 2 = 270 128 021 402 227 078 + 0;
  • 270 128 021 402 227 078 ÷ 2 = 135 064 010 701 113 539 + 0;
  • 135 064 010 701 113 539 ÷ 2 = 67 532 005 350 556 769 + 1;
  • 67 532 005 350 556 769 ÷ 2 = 33 766 002 675 278 384 + 1;
  • 33 766 002 675 278 384 ÷ 2 = 16 883 001 337 639 192 + 0;
  • 16 883 001 337 639 192 ÷ 2 = 8 441 500 668 819 596 + 0;
  • 8 441 500 668 819 596 ÷ 2 = 4 220 750 334 409 798 + 0;
  • 4 220 750 334 409 798 ÷ 2 = 2 110 375 167 204 899 + 0;
  • 2 110 375 167 204 899 ÷ 2 = 1 055 187 583 602 449 + 1;
  • 1 055 187 583 602 449 ÷ 2 = 527 593 791 801 224 + 1;
  • 527 593 791 801 224 ÷ 2 = 263 796 895 900 612 + 0;
  • 263 796 895 900 612 ÷ 2 = 131 898 447 950 306 + 0;
  • 131 898 447 950 306 ÷ 2 = 65 949 223 975 153 + 0;
  • 65 949 223 975 153 ÷ 2 = 32 974 611 987 576 + 1;
  • 32 974 611 987 576 ÷ 2 = 16 487 305 993 788 + 0;
  • 16 487 305 993 788 ÷ 2 = 8 243 652 996 894 + 0;
  • 8 243 652 996 894 ÷ 2 = 4 121 826 498 447 + 0;
  • 4 121 826 498 447 ÷ 2 = 2 060 913 249 223 + 1;
  • 2 060 913 249 223 ÷ 2 = 1 030 456 624 611 + 1;
  • 1 030 456 624 611 ÷ 2 = 515 228 312 305 + 1;
  • 515 228 312 305 ÷ 2 = 257 614 156 152 + 1;
  • 257 614 156 152 ÷ 2 = 128 807 078 076 + 0;
  • 128 807 078 076 ÷ 2 = 64 403 539 038 + 0;
  • 64 403 539 038 ÷ 2 = 32 201 769 519 + 0;
  • 32 201 769 519 ÷ 2 = 16 100 884 759 + 1;
  • 16 100 884 759 ÷ 2 = 8 050 442 379 + 1;
  • 8 050 442 379 ÷ 2 = 4 025 221 189 + 1;
  • 4 025 221 189 ÷ 2 = 2 012 610 594 + 1;
  • 2 012 610 594 ÷ 2 = 1 006 305 297 + 0;
  • 1 006 305 297 ÷ 2 = 503 152 648 + 1;
  • 503 152 648 ÷ 2 = 251 576 324 + 0;
  • 251 576 324 ÷ 2 = 125 788 162 + 0;
  • 125 788 162 ÷ 2 = 62 894 081 + 0;
  • 62 894 081 ÷ 2 = 31 447 040 + 1;
  • 31 447 040 ÷ 2 = 15 723 520 + 0;
  • 15 723 520 ÷ 2 = 7 861 760 + 0;
  • 7 861 760 ÷ 2 = 3 930 880 + 0;
  • 3 930 880 ÷ 2 = 1 965 440 + 0;
  • 1 965 440 ÷ 2 = 982 720 + 0;
  • 982 720 ÷ 2 = 491 360 + 0;
  • 491 360 ÷ 2 = 245 680 + 0;
  • 245 680 ÷ 2 = 122 840 + 0;
  • 122 840 ÷ 2 = 61 420 + 0;
  • 61 420 ÷ 2 = 30 710 + 0;
  • 30 710 ÷ 2 = 15 355 + 0;
  • 15 355 ÷ 2 = 7 677 + 1;
  • 7 677 ÷ 2 = 3 838 + 1;
  • 3 838 ÷ 2 = 1 919 + 0;
  • 1 919 ÷ 2 = 959 + 1;
  • 959 ÷ 2 = 479 + 1;
  • 479 ÷ 2 = 239 + 1;
  • 239 ÷ 2 = 119 + 1;
  • 119 ÷ 2 = 59 + 1;
  • 59 ÷ 2 = 29 + 1;
  • 29 ÷ 2 = 14 + 1;
  • 14 ÷ 2 = 7 + 0;
  • 7 ÷ 2 = 3 + 1;
  • 3 ÷ 2 = 1 + 1;
  • 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.

89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414(10) =


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


4. Normalize the binary representation of the number.

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


89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414(10) =


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


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


1.1101 1111 1101 1000 0000 0000 1000 1011 1100 0111 1000 1000 1100 0011 0010 0011 0101 0010 1011 1100 0001 0010 1111 0010 1000 1011 1001 1000 1100 1000 0110 0101 0100 1010 1111 1010 1101 1010 1100 1011 0011 0101 1100 110(2) × 2175


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


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


6. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


175 + 2(11-1) - 1 =


(175 + 1 023)(10) =


1 198(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 198 ÷ 2 = 599 + 0;
  • 599 ÷ 2 = 299 + 1;
  • 299 ÷ 2 = 149 + 1;
  • 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;

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


1198(10) =


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


1101 1111 1101 1000 0000 0000 1000 1011 1100 0111 1000 1000 1100


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 1010 1110


Mantissa (52 bits) =
1101 1111 1101 1000 0000 0000 1000 1011 1100 0111 1000 1000 1100


Decimal number -89 765 432 123 456 789 876 543 212 345 678 987 654 323 456 788 765 414 converted to 64 bit double precision IEEE 754 binary floating point representation:

1 - 100 1010 1110 - 1101 1111 1101 1000 0000 0000 1000 1011 1100 0111 1000 1000 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