-622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal -622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277(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
-622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277(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:

|-622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277| = 622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277


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;
  • 622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277 ÷ 2 = 311 394 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 638 + 1;
  • 311 394 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 638 ÷ 2 = 155 697 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 819 + 0;
  • 155 697 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 819 ÷ 2 = 77 848 749 999 999 999 999 999 999 999 999 999 999 999 999 999 999 909 + 1;
  • 77 848 749 999 999 999 999 999 999 999 999 999 999 999 999 999 999 909 ÷ 2 = 38 924 374 999 999 999 999 999 999 999 999 999 999 999 999 999 999 954 + 1;
  • 38 924 374 999 999 999 999 999 999 999 999 999 999 999 999 999 999 954 ÷ 2 = 19 462 187 499 999 999 999 999 999 999 999 999 999 999 999 999 999 977 + 0;
  • 19 462 187 499 999 999 999 999 999 999 999 999 999 999 999 999 999 977 ÷ 2 = 9 731 093 749 999 999 999 999 999 999 999 999 999 999 999 999 999 988 + 1;
  • 9 731 093 749 999 999 999 999 999 999 999 999 999 999 999 999 999 988 ÷ 2 = 4 865 546 874 999 999 999 999 999 999 999 999 999 999 999 999 999 994 + 0;
  • 4 865 546 874 999 999 999 999 999 999 999 999 999 999 999 999 999 994 ÷ 2 = 2 432 773 437 499 999 999 999 999 999 999 999 999 999 999 999 999 997 + 0;
  • 2 432 773 437 499 999 999 999 999 999 999 999 999 999 999 999 999 997 ÷ 2 = 1 216 386 718 749 999 999 999 999 999 999 999 999 999 999 999 999 998 + 1;
  • 1 216 386 718 749 999 999 999 999 999 999 999 999 999 999 999 999 998 ÷ 2 = 608 193 359 374 999 999 999 999 999 999 999 999 999 999 999 999 999 + 0;
  • 608 193 359 374 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 304 096 679 687 499 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 304 096 679 687 499 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 152 048 339 843 749 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 152 048 339 843 749 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 76 024 169 921 874 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 76 024 169 921 874 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 38 012 084 960 937 499 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 38 012 084 960 937 499 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 19 006 042 480 468 749 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 19 006 042 480 468 749 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 9 503 021 240 234 374 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 9 503 021 240 234 374 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 4 751 510 620 117 187 499 999 999 999 999 999 999 999 999 999 999 + 1;
  • 4 751 510 620 117 187 499 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 2 375 755 310 058 593 749 999 999 999 999 999 999 999 999 999 999 + 1;
  • 2 375 755 310 058 593 749 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 187 877 655 029 296 874 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 187 877 655 029 296 874 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 593 938 827 514 648 437 499 999 999 999 999 999 999 999 999 999 + 1;
  • 593 938 827 514 648 437 499 999 999 999 999 999 999 999 999 999 ÷ 2 = 296 969 413 757 324 218 749 999 999 999 999 999 999 999 999 999 + 1;
  • 296 969 413 757 324 218 749 999 999 999 999 999 999 999 999 999 ÷ 2 = 148 484 706 878 662 109 374 999 999 999 999 999 999 999 999 999 + 1;
  • 148 484 706 878 662 109 374 999 999 999 999 999 999 999 999 999 ÷ 2 = 74 242 353 439 331 054 687 499 999 999 999 999 999 999 999 999 + 1;
  • 74 242 353 439 331 054 687 499 999 999 999 999 999 999 999 999 ÷ 2 = 37 121 176 719 665 527 343 749 999 999 999 999 999 999 999 999 + 1;
  • 37 121 176 719 665 527 343 749 999 999 999 999 999 999 999 999 ÷ 2 = 18 560 588 359 832 763 671 874 999 999 999 999 999 999 999 999 + 1;
  • 18 560 588 359 832 763 671 874 999 999 999 999 999 999 999 999 ÷ 2 = 9 280 294 179 916 381 835 937 499 999 999 999 999 999 999 999 + 1;
  • 9 280 294 179 916 381 835 937 499 999 999 999 999 999 999 999 ÷ 2 = 4 640 147 089 958 190 917 968 749 999 999 999 999 999 999 999 + 1;
  • 4 640 147 089 958 190 917 968 749 999 999 999 999 999 999 999 ÷ 2 = 2 320 073 544 979 095 458 984 374 999 999 999 999 999 999 999 + 1;
  • 2 320 073 544 979 095 458 984 374 999 999 999 999 999 999 999 ÷ 2 = 1 160 036 772 489 547 729 492 187 499 999 999 999 999 999 999 + 1;
  • 1 160 036 772 489 547 729 492 187 499 999 999 999 999 999 999 ÷ 2 = 580 018 386 244 773 864 746 093 749 999 999 999 999 999 999 + 1;
  • 580 018 386 244 773 864 746 093 749 999 999 999 999 999 999 ÷ 2 = 290 009 193 122 386 932 373 046 874 999 999 999 999 999 999 + 1;
  • 290 009 193 122 386 932 373 046 874 999 999 999 999 999 999 ÷ 2 = 145 004 596 561 193 466 186 523 437 499 999 999 999 999 999 + 1;
  • 145 004 596 561 193 466 186 523 437 499 999 999 999 999 999 ÷ 2 = 72 502 298 280 596 733 093 261 718 749 999 999 999 999 999 + 1;
  • 72 502 298 280 596 733 093 261 718 749 999 999 999 999 999 ÷ 2 = 36 251 149 140 298 366 546 630 859 374 999 999 999 999 999 + 1;
  • 36 251 149 140 298 366 546 630 859 374 999 999 999 999 999 ÷ 2 = 18 125 574 570 149 183 273 315 429 687 499 999 999 999 999 + 1;
  • 18 125 574 570 149 183 273 315 429 687 499 999 999 999 999 ÷ 2 = 9 062 787 285 074 591 636 657 714 843 749 999 999 999 999 + 1;
  • 9 062 787 285 074 591 636 657 714 843 749 999 999 999 999 ÷ 2 = 4 531 393 642 537 295 818 328 857 421 874 999 999 999 999 + 1;
  • 4 531 393 642 537 295 818 328 857 421 874 999 999 999 999 ÷ 2 = 2 265 696 821 268 647 909 164 428 710 937 499 999 999 999 + 1;
  • 2 265 696 821 268 647 909 164 428 710 937 499 999 999 999 ÷ 2 = 1 132 848 410 634 323 954 582 214 355 468 749 999 999 999 + 1;
  • 1 132 848 410 634 323 954 582 214 355 468 749 999 999 999 ÷ 2 = 566 424 205 317 161 977 291 107 177 734 374 999 999 999 + 1;
  • 566 424 205 317 161 977 291 107 177 734 374 999 999 999 ÷ 2 = 283 212 102 658 580 988 645 553 588 867 187 499 999 999 + 1;
  • 283 212 102 658 580 988 645 553 588 867 187 499 999 999 ÷ 2 = 141 606 051 329 290 494 322 776 794 433 593 749 999 999 + 1;
  • 141 606 051 329 290 494 322 776 794 433 593 749 999 999 ÷ 2 = 70 803 025 664 645 247 161 388 397 216 796 874 999 999 + 1;
  • 70 803 025 664 645 247 161 388 397 216 796 874 999 999 ÷ 2 = 35 401 512 832 322 623 580 694 198 608 398 437 499 999 + 1;
  • 35 401 512 832 322 623 580 694 198 608 398 437 499 999 ÷ 2 = 17 700 756 416 161 311 790 347 099 304 199 218 749 999 + 1;
  • 17 700 756 416 161 311 790 347 099 304 199 218 749 999 ÷ 2 = 8 850 378 208 080 655 895 173 549 652 099 609 374 999 + 1;
  • 8 850 378 208 080 655 895 173 549 652 099 609 374 999 ÷ 2 = 4 425 189 104 040 327 947 586 774 826 049 804 687 499 + 1;
  • 4 425 189 104 040 327 947 586 774 826 049 804 687 499 ÷ 2 = 2 212 594 552 020 163 973 793 387 413 024 902 343 749 + 1;
  • 2 212 594 552 020 163 973 793 387 413 024 902 343 749 ÷ 2 = 1 106 297 276 010 081 986 896 693 706 512 451 171 874 + 1;
  • 1 106 297 276 010 081 986 896 693 706 512 451 171 874 ÷ 2 = 553 148 638 005 040 993 448 346 853 256 225 585 937 + 0;
  • 553 148 638 005 040 993 448 346 853 256 225 585 937 ÷ 2 = 276 574 319 002 520 496 724 173 426 628 112 792 968 + 1;
  • 276 574 319 002 520 496 724 173 426 628 112 792 968 ÷ 2 = 138 287 159 501 260 248 362 086 713 314 056 396 484 + 0;
  • 138 287 159 501 260 248 362 086 713 314 056 396 484 ÷ 2 = 69 143 579 750 630 124 181 043 356 657 028 198 242 + 0;
  • 69 143 579 750 630 124 181 043 356 657 028 198 242 ÷ 2 = 34 571 789 875 315 062 090 521 678 328 514 099 121 + 0;
  • 34 571 789 875 315 062 090 521 678 328 514 099 121 ÷ 2 = 17 285 894 937 657 531 045 260 839 164 257 049 560 + 1;
  • 17 285 894 937 657 531 045 260 839 164 257 049 560 ÷ 2 = 8 642 947 468 828 765 522 630 419 582 128 524 780 + 0;
  • 8 642 947 468 828 765 522 630 419 582 128 524 780 ÷ 2 = 4 321 473 734 414 382 761 315 209 791 064 262 390 + 0;
  • 4 321 473 734 414 382 761 315 209 791 064 262 390 ÷ 2 = 2 160 736 867 207 191 380 657 604 895 532 131 195 + 0;
  • 2 160 736 867 207 191 380 657 604 895 532 131 195 ÷ 2 = 1 080 368 433 603 595 690 328 802 447 766 065 597 + 1;
  • 1 080 368 433 603 595 690 328 802 447 766 065 597 ÷ 2 = 540 184 216 801 797 845 164 401 223 883 032 798 + 1;
  • 540 184 216 801 797 845 164 401 223 883 032 798 ÷ 2 = 270 092 108 400 898 922 582 200 611 941 516 399 + 0;
  • 270 092 108 400 898 922 582 200 611 941 516 399 ÷ 2 = 135 046 054 200 449 461 291 100 305 970 758 199 + 1;
  • 135 046 054 200 449 461 291 100 305 970 758 199 ÷ 2 = 67 523 027 100 224 730 645 550 152 985 379 099 + 1;
  • 67 523 027 100 224 730 645 550 152 985 379 099 ÷ 2 = 33 761 513 550 112 365 322 775 076 492 689 549 + 1;
  • 33 761 513 550 112 365 322 775 076 492 689 549 ÷ 2 = 16 880 756 775 056 182 661 387 538 246 344 774 + 1;
  • 16 880 756 775 056 182 661 387 538 246 344 774 ÷ 2 = 8 440 378 387 528 091 330 693 769 123 172 387 + 0;
  • 8 440 378 387 528 091 330 693 769 123 172 387 ÷ 2 = 4 220 189 193 764 045 665 346 884 561 586 193 + 1;
  • 4 220 189 193 764 045 665 346 884 561 586 193 ÷ 2 = 2 110 094 596 882 022 832 673 442 280 793 096 + 1;
  • 2 110 094 596 882 022 832 673 442 280 793 096 ÷ 2 = 1 055 047 298 441 011 416 336 721 140 396 548 + 0;
  • 1 055 047 298 441 011 416 336 721 140 396 548 ÷ 2 = 527 523 649 220 505 708 168 360 570 198 274 + 0;
  • 527 523 649 220 505 708 168 360 570 198 274 ÷ 2 = 263 761 824 610 252 854 084 180 285 099 137 + 0;
  • 263 761 824 610 252 854 084 180 285 099 137 ÷ 2 = 131 880 912 305 126 427 042 090 142 549 568 + 1;
  • 131 880 912 305 126 427 042 090 142 549 568 ÷ 2 = 65 940 456 152 563 213 521 045 071 274 784 + 0;
  • 65 940 456 152 563 213 521 045 071 274 784 ÷ 2 = 32 970 228 076 281 606 760 522 535 637 392 + 0;
  • 32 970 228 076 281 606 760 522 535 637 392 ÷ 2 = 16 485 114 038 140 803 380 261 267 818 696 + 0;
  • 16 485 114 038 140 803 380 261 267 818 696 ÷ 2 = 8 242 557 019 070 401 690 130 633 909 348 + 0;
  • 8 242 557 019 070 401 690 130 633 909 348 ÷ 2 = 4 121 278 509 535 200 845 065 316 954 674 + 0;
  • 4 121 278 509 535 200 845 065 316 954 674 ÷ 2 = 2 060 639 254 767 600 422 532 658 477 337 + 0;
  • 2 060 639 254 767 600 422 532 658 477 337 ÷ 2 = 1 030 319 627 383 800 211 266 329 238 668 + 1;
  • 1 030 319 627 383 800 211 266 329 238 668 ÷ 2 = 515 159 813 691 900 105 633 164 619 334 + 0;
  • 515 159 813 691 900 105 633 164 619 334 ÷ 2 = 257 579 906 845 950 052 816 582 309 667 + 0;
  • 257 579 906 845 950 052 816 582 309 667 ÷ 2 = 128 789 953 422 975 026 408 291 154 833 + 1;
  • 128 789 953 422 975 026 408 291 154 833 ÷ 2 = 64 394 976 711 487 513 204 145 577 416 + 1;
  • 64 394 976 711 487 513 204 145 577 416 ÷ 2 = 32 197 488 355 743 756 602 072 788 708 + 0;
  • 32 197 488 355 743 756 602 072 788 708 ÷ 2 = 16 098 744 177 871 878 301 036 394 354 + 0;
  • 16 098 744 177 871 878 301 036 394 354 ÷ 2 = 8 049 372 088 935 939 150 518 197 177 + 0;
  • 8 049 372 088 935 939 150 518 197 177 ÷ 2 = 4 024 686 044 467 969 575 259 098 588 + 1;
  • 4 024 686 044 467 969 575 259 098 588 ÷ 2 = 2 012 343 022 233 984 787 629 549 294 + 0;
  • 2 012 343 022 233 984 787 629 549 294 ÷ 2 = 1 006 171 511 116 992 393 814 774 647 + 0;
  • 1 006 171 511 116 992 393 814 774 647 ÷ 2 = 503 085 755 558 496 196 907 387 323 + 1;
  • 503 085 755 558 496 196 907 387 323 ÷ 2 = 251 542 877 779 248 098 453 693 661 + 1;
  • 251 542 877 779 248 098 453 693 661 ÷ 2 = 125 771 438 889 624 049 226 846 830 + 1;
  • 125 771 438 889 624 049 226 846 830 ÷ 2 = 62 885 719 444 812 024 613 423 415 + 0;
  • 62 885 719 444 812 024 613 423 415 ÷ 2 = 31 442 859 722 406 012 306 711 707 + 1;
  • 31 442 859 722 406 012 306 711 707 ÷ 2 = 15 721 429 861 203 006 153 355 853 + 1;
  • 15 721 429 861 203 006 153 355 853 ÷ 2 = 7 860 714 930 601 503 076 677 926 + 1;
  • 7 860 714 930 601 503 076 677 926 ÷ 2 = 3 930 357 465 300 751 538 338 963 + 0;
  • 3 930 357 465 300 751 538 338 963 ÷ 2 = 1 965 178 732 650 375 769 169 481 + 1;
  • 1 965 178 732 650 375 769 169 481 ÷ 2 = 982 589 366 325 187 884 584 740 + 1;
  • 982 589 366 325 187 884 584 740 ÷ 2 = 491 294 683 162 593 942 292 370 + 0;
  • 491 294 683 162 593 942 292 370 ÷ 2 = 245 647 341 581 296 971 146 185 + 0;
  • 245 647 341 581 296 971 146 185 ÷ 2 = 122 823 670 790 648 485 573 092 + 1;
  • 122 823 670 790 648 485 573 092 ÷ 2 = 61 411 835 395 324 242 786 546 + 0;
  • 61 411 835 395 324 242 786 546 ÷ 2 = 30 705 917 697 662 121 393 273 + 0;
  • 30 705 917 697 662 121 393 273 ÷ 2 = 15 352 958 848 831 060 696 636 + 1;
  • 15 352 958 848 831 060 696 636 ÷ 2 = 7 676 479 424 415 530 348 318 + 0;
  • 7 676 479 424 415 530 348 318 ÷ 2 = 3 838 239 712 207 765 174 159 + 0;
  • 3 838 239 712 207 765 174 159 ÷ 2 = 1 919 119 856 103 882 587 079 + 1;
  • 1 919 119 856 103 882 587 079 ÷ 2 = 959 559 928 051 941 293 539 + 1;
  • 959 559 928 051 941 293 539 ÷ 2 = 479 779 964 025 970 646 769 + 1;
  • 479 779 964 025 970 646 769 ÷ 2 = 239 889 982 012 985 323 384 + 1;
  • 239 889 982 012 985 323 384 ÷ 2 = 119 944 991 006 492 661 692 + 0;
  • 119 944 991 006 492 661 692 ÷ 2 = 59 972 495 503 246 330 846 + 0;
  • 59 972 495 503 246 330 846 ÷ 2 = 29 986 247 751 623 165 423 + 0;
  • 29 986 247 751 623 165 423 ÷ 2 = 14 993 123 875 811 582 711 + 1;
  • 14 993 123 875 811 582 711 ÷ 2 = 7 496 561 937 905 791 355 + 1;
  • 7 496 561 937 905 791 355 ÷ 2 = 3 748 280 968 952 895 677 + 1;
  • 3 748 280 968 952 895 677 ÷ 2 = 1 874 140 484 476 447 838 + 1;
  • 1 874 140 484 476 447 838 ÷ 2 = 937 070 242 238 223 919 + 0;
  • 937 070 242 238 223 919 ÷ 2 = 468 535 121 119 111 959 + 1;
  • 468 535 121 119 111 959 ÷ 2 = 234 267 560 559 555 979 + 1;
  • 234 267 560 559 555 979 ÷ 2 = 117 133 780 279 777 989 + 1;
  • 117 133 780 279 777 989 ÷ 2 = 58 566 890 139 888 994 + 1;
  • 58 566 890 139 888 994 ÷ 2 = 29 283 445 069 944 497 + 0;
  • 29 283 445 069 944 497 ÷ 2 = 14 641 722 534 972 248 + 1;
  • 14 641 722 534 972 248 ÷ 2 = 7 320 861 267 486 124 + 0;
  • 7 320 861 267 486 124 ÷ 2 = 3 660 430 633 743 062 + 0;
  • 3 660 430 633 743 062 ÷ 2 = 1 830 215 316 871 531 + 0;
  • 1 830 215 316 871 531 ÷ 2 = 915 107 658 435 765 + 1;
  • 915 107 658 435 765 ÷ 2 = 457 553 829 217 882 + 1;
  • 457 553 829 217 882 ÷ 2 = 228 776 914 608 941 + 0;
  • 228 776 914 608 941 ÷ 2 = 114 388 457 304 470 + 1;
  • 114 388 457 304 470 ÷ 2 = 57 194 228 652 235 + 0;
  • 57 194 228 652 235 ÷ 2 = 28 597 114 326 117 + 1;
  • 28 597 114 326 117 ÷ 2 = 14 298 557 163 058 + 1;
  • 14 298 557 163 058 ÷ 2 = 7 149 278 581 529 + 0;
  • 7 149 278 581 529 ÷ 2 = 3 574 639 290 764 + 1;
  • 3 574 639 290 764 ÷ 2 = 1 787 319 645 382 + 0;
  • 1 787 319 645 382 ÷ 2 = 893 659 822 691 + 0;
  • 893 659 822 691 ÷ 2 = 446 829 911 345 + 1;
  • 446 829 911 345 ÷ 2 = 223 414 955 672 + 1;
  • 223 414 955 672 ÷ 2 = 111 707 477 836 + 0;
  • 111 707 477 836 ÷ 2 = 55 853 738 918 + 0;
  • 55 853 738 918 ÷ 2 = 27 926 869 459 + 0;
  • 27 926 869 459 ÷ 2 = 13 963 434 729 + 1;
  • 13 963 434 729 ÷ 2 = 6 981 717 364 + 1;
  • 6 981 717 364 ÷ 2 = 3 490 858 682 + 0;
  • 3 490 858 682 ÷ 2 = 1 745 429 341 + 0;
  • 1 745 429 341 ÷ 2 = 872 714 670 + 1;
  • 872 714 670 ÷ 2 = 436 357 335 + 0;
  • 436 357 335 ÷ 2 = 218 178 667 + 1;
  • 218 178 667 ÷ 2 = 109 089 333 + 1;
  • 109 089 333 ÷ 2 = 54 544 666 + 1;
  • 54 544 666 ÷ 2 = 27 272 333 + 0;
  • 27 272 333 ÷ 2 = 13 636 166 + 1;
  • 13 636 166 ÷ 2 = 6 818 083 + 0;
  • 6 818 083 ÷ 2 = 3 409 041 + 1;
  • 3 409 041 ÷ 2 = 1 704 520 + 1;
  • 1 704 520 ÷ 2 = 852 260 + 0;
  • 852 260 ÷ 2 = 426 130 + 0;
  • 426 130 ÷ 2 = 213 065 + 0;
  • 213 065 ÷ 2 = 106 532 + 1;
  • 106 532 ÷ 2 = 53 266 + 0;
  • 53 266 ÷ 2 = 26 633 + 0;
  • 26 633 ÷ 2 = 13 316 + 1;
  • 13 316 ÷ 2 = 6 658 + 0;
  • 6 658 ÷ 2 = 3 329 + 0;
  • 3 329 ÷ 2 = 1 664 + 1;
  • 1 664 ÷ 2 = 832 + 0;
  • 832 ÷ 2 = 416 + 0;
  • 416 ÷ 2 = 208 + 0;
  • 208 ÷ 2 = 104 + 0;
  • 104 ÷ 2 = 52 + 0;
  • 52 ÷ 2 = 26 + 0;
  • 26 ÷ 2 = 13 + 0;
  • 13 ÷ 2 = 6 + 1;
  • 6 ÷ 2 = 3 + 0;
  • 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.

622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277(10) =


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


4. Normalize the binary representation of the number.

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


622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277(10) =


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


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


1.1010 0000 0010 0100 1000 1101 0111 0100 1100 0110 0101 1010 1100 0101 1110 1111 0001 1110 0100 1001 1011 1011 1001 0001 1001 0000 0010 0011 0111 1011 0001 0001 0111 1111 1111 1111 1111 1111 1111 1111 1111 1111 0100 1011 01(2) × 2178


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


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


6. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


178 + 2(11-1) - 1 =


(178 + 1 023)(10) =


1 201(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 201 ÷ 2 = 600 + 1;
  • 600 ÷ 2 = 300 + 0;
  • 300 ÷ 2 = 150 + 0;
  • 150 ÷ 2 = 75 + 0;
  • 75 ÷ 2 = 37 + 1;
  • 37 ÷ 2 = 18 + 1;
  • 18 ÷ 2 = 9 + 0;
  • 9 ÷ 2 = 4 + 1;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

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


1201(10) =


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


1010 0000 0010 0100 1000 1101 0111 0100 1100 0110 0101 1010 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 1011 0001


Mantissa (52 bits) =
1010 0000 0010 0100 1000 1101 0111 0100 1100 0110 0101 1010 1100


Decimal number -622 789 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 277 converted to 64 bit double precision IEEE 754 binary floating point representation:

1 - 100 1011 0001 - 1010 0000 0010 0100 1000 1101 0111 0100 1100 0110 0101 1010 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