-627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852 Converted to 64 Bit Double Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal -627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852(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
-627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852(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:

|-627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852| = 627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852


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;
  • 627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852 ÷ 2 = 313 919 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 926 + 0;
  • 313 919 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 926 ÷ 2 = 156 959 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 963 + 0;
  • 156 959 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 963 ÷ 2 = 78 479 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 981 + 1;
  • 78 479 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 981 ÷ 2 = 39 239 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 990 + 1;
  • 39 239 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 990 ÷ 2 = 19 619 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 995 + 0;
  • 19 619 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 995 ÷ 2 = 9 809 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 997 + 1;
  • 9 809 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 997 ÷ 2 = 4 904 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 998 + 1;
  • 4 904 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 998 ÷ 2 = 2 452 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 0;
  • 2 452 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 226 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 226 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 613 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 613 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 306 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 306 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 153 281 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 153 281 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 76 640 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 76 640 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 38 320 312 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 38 320 312 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 19 160 156 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 19 160 156 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 9 580 078 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 9 580 078 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 4 790 039 062 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 4 790 039 062 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 2 395 019 531 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 2 395 019 531 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 197 509 765 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 197 509 765 624 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 598 754 882 812 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 598 754 882 812 499 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 299 377 441 406 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 299 377 441 406 249 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 149 688 720 703 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 149 688 720 703 124 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 74 844 360 351 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 74 844 360 351 562 499 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 37 422 180 175 781 249 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 37 422 180 175 781 249 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 18 711 090 087 890 624 999 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 18 711 090 087 890 624 999 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 9 355 545 043 945 312 499 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 9 355 545 043 945 312 499 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 4 677 772 521 972 656 249 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 4 677 772 521 972 656 249 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 2 338 886 260 986 328 124 999 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 2 338 886 260 986 328 124 999 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 1 169 443 130 493 164 062 499 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 1 169 443 130 493 164 062 499 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 584 721 565 246 582 031 249 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 584 721 565 246 582 031 249 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 292 360 782 623 291 015 624 999 999 999 999 999 999 999 999 999 999 999 + 1;
  • 292 360 782 623 291 015 624 999 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 146 180 391 311 645 507 812 499 999 999 999 999 999 999 999 999 999 999 + 1;
  • 146 180 391 311 645 507 812 499 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 73 090 195 655 822 753 906 249 999 999 999 999 999 999 999 999 999 999 + 1;
  • 73 090 195 655 822 753 906 249 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 36 545 097 827 911 376 953 124 999 999 999 999 999 999 999 999 999 999 + 1;
  • 36 545 097 827 911 376 953 124 999 999 999 999 999 999 999 999 999 999 ÷ 2 = 18 272 548 913 955 688 476 562 499 999 999 999 999 999 999 999 999 999 + 1;
  • 18 272 548 913 955 688 476 562 499 999 999 999 999 999 999 999 999 999 ÷ 2 = 9 136 274 456 977 844 238 281 249 999 999 999 999 999 999 999 999 999 + 1;
  • 9 136 274 456 977 844 238 281 249 999 999 999 999 999 999 999 999 999 ÷ 2 = 4 568 137 228 488 922 119 140 624 999 999 999 999 999 999 999 999 999 + 1;
  • 4 568 137 228 488 922 119 140 624 999 999 999 999 999 999 999 999 999 ÷ 2 = 2 284 068 614 244 461 059 570 312 499 999 999 999 999 999 999 999 999 + 1;
  • 2 284 068 614 244 461 059 570 312 499 999 999 999 999 999 999 999 999 ÷ 2 = 1 142 034 307 122 230 529 785 156 249 999 999 999 999 999 999 999 999 + 1;
  • 1 142 034 307 122 230 529 785 156 249 999 999 999 999 999 999 999 999 ÷ 2 = 571 017 153 561 115 264 892 578 124 999 999 999 999 999 999 999 999 + 1;
  • 571 017 153 561 115 264 892 578 124 999 999 999 999 999 999 999 999 ÷ 2 = 285 508 576 780 557 632 446 289 062 499 999 999 999 999 999 999 999 + 1;
  • 285 508 576 780 557 632 446 289 062 499 999 999 999 999 999 999 999 ÷ 2 = 142 754 288 390 278 816 223 144 531 249 999 999 999 999 999 999 999 + 1;
  • 142 754 288 390 278 816 223 144 531 249 999 999 999 999 999 999 999 ÷ 2 = 71 377 144 195 139 408 111 572 265 624 999 999 999 999 999 999 999 + 1;
  • 71 377 144 195 139 408 111 572 265 624 999 999 999 999 999 999 999 ÷ 2 = 35 688 572 097 569 704 055 786 132 812 499 999 999 999 999 999 999 + 1;
  • 35 688 572 097 569 704 055 786 132 812 499 999 999 999 999 999 999 ÷ 2 = 17 844 286 048 784 852 027 893 066 406 249 999 999 999 999 999 999 + 1;
  • 17 844 286 048 784 852 027 893 066 406 249 999 999 999 999 999 999 ÷ 2 = 8 922 143 024 392 426 013 946 533 203 124 999 999 999 999 999 999 + 1;
  • 8 922 143 024 392 426 013 946 533 203 124 999 999 999 999 999 999 ÷ 2 = 4 461 071 512 196 213 006 973 266 601 562 499 999 999 999 999 999 + 1;
  • 4 461 071 512 196 213 006 973 266 601 562 499 999 999 999 999 999 ÷ 2 = 2 230 535 756 098 106 503 486 633 300 781 249 999 999 999 999 999 + 1;
  • 2 230 535 756 098 106 503 486 633 300 781 249 999 999 999 999 999 ÷ 2 = 1 115 267 878 049 053 251 743 316 650 390 624 999 999 999 999 999 + 1;
  • 1 115 267 878 049 053 251 743 316 650 390 624 999 999 999 999 999 ÷ 2 = 557 633 939 024 526 625 871 658 325 195 312 499 999 999 999 999 + 1;
  • 557 633 939 024 526 625 871 658 325 195 312 499 999 999 999 999 ÷ 2 = 278 816 969 512 263 312 935 829 162 597 656 249 999 999 999 999 + 1;
  • 278 816 969 512 263 312 935 829 162 597 656 249 999 999 999 999 ÷ 2 = 139 408 484 756 131 656 467 914 581 298 828 124 999 999 999 999 + 1;
  • 139 408 484 756 131 656 467 914 581 298 828 124 999 999 999 999 ÷ 2 = 69 704 242 378 065 828 233 957 290 649 414 062 499 999 999 999 + 1;
  • 69 704 242 378 065 828 233 957 290 649 414 062 499 999 999 999 ÷ 2 = 34 852 121 189 032 914 116 978 645 324 707 031 249 999 999 999 + 1;
  • 34 852 121 189 032 914 116 978 645 324 707 031 249 999 999 999 ÷ 2 = 17 426 060 594 516 457 058 489 322 662 353 515 624 999 999 999 + 1;
  • 17 426 060 594 516 457 058 489 322 662 353 515 624 999 999 999 ÷ 2 = 8 713 030 297 258 228 529 244 661 331 176 757 812 499 999 999 + 1;
  • 8 713 030 297 258 228 529 244 661 331 176 757 812 499 999 999 ÷ 2 = 4 356 515 148 629 114 264 622 330 665 588 378 906 249 999 999 + 1;
  • 4 356 515 148 629 114 264 622 330 665 588 378 906 249 999 999 ÷ 2 = 2 178 257 574 314 557 132 311 165 332 794 189 453 124 999 999 + 1;
  • 2 178 257 574 314 557 132 311 165 332 794 189 453 124 999 999 ÷ 2 = 1 089 128 787 157 278 566 155 582 666 397 094 726 562 499 999 + 1;
  • 1 089 128 787 157 278 566 155 582 666 397 094 726 562 499 999 ÷ 2 = 544 564 393 578 639 283 077 791 333 198 547 363 281 249 999 + 1;
  • 544 564 393 578 639 283 077 791 333 198 547 363 281 249 999 ÷ 2 = 272 282 196 789 319 641 538 895 666 599 273 681 640 624 999 + 1;
  • 272 282 196 789 319 641 538 895 666 599 273 681 640 624 999 ÷ 2 = 136 141 098 394 659 820 769 447 833 299 636 840 820 312 499 + 1;
  • 136 141 098 394 659 820 769 447 833 299 636 840 820 312 499 ÷ 2 = 68 070 549 197 329 910 384 723 916 649 818 420 410 156 249 + 1;
  • 68 070 549 197 329 910 384 723 916 649 818 420 410 156 249 ÷ 2 = 34 035 274 598 664 955 192 361 958 324 909 210 205 078 124 + 1;
  • 34 035 274 598 664 955 192 361 958 324 909 210 205 078 124 ÷ 2 = 17 017 637 299 332 477 596 180 979 162 454 605 102 539 062 + 0;
  • 17 017 637 299 332 477 596 180 979 162 454 605 102 539 062 ÷ 2 = 8 508 818 649 666 238 798 090 489 581 227 302 551 269 531 + 0;
  • 8 508 818 649 666 238 798 090 489 581 227 302 551 269 531 ÷ 2 = 4 254 409 324 833 119 399 045 244 790 613 651 275 634 765 + 1;
  • 4 254 409 324 833 119 399 045 244 790 613 651 275 634 765 ÷ 2 = 2 127 204 662 416 559 699 522 622 395 306 825 637 817 382 + 1;
  • 2 127 204 662 416 559 699 522 622 395 306 825 637 817 382 ÷ 2 = 1 063 602 331 208 279 849 761 311 197 653 412 818 908 691 + 0;
  • 1 063 602 331 208 279 849 761 311 197 653 412 818 908 691 ÷ 2 = 531 801 165 604 139 924 880 655 598 826 706 409 454 345 + 1;
  • 531 801 165 604 139 924 880 655 598 826 706 409 454 345 ÷ 2 = 265 900 582 802 069 962 440 327 799 413 353 204 727 172 + 1;
  • 265 900 582 802 069 962 440 327 799 413 353 204 727 172 ÷ 2 = 132 950 291 401 034 981 220 163 899 706 676 602 363 586 + 0;
  • 132 950 291 401 034 981 220 163 899 706 676 602 363 586 ÷ 2 = 66 475 145 700 517 490 610 081 949 853 338 301 181 793 + 0;
  • 66 475 145 700 517 490 610 081 949 853 338 301 181 793 ÷ 2 = 33 237 572 850 258 745 305 040 974 926 669 150 590 896 + 1;
  • 33 237 572 850 258 745 305 040 974 926 669 150 590 896 ÷ 2 = 16 618 786 425 129 372 652 520 487 463 334 575 295 448 + 0;
  • 16 618 786 425 129 372 652 520 487 463 334 575 295 448 ÷ 2 = 8 309 393 212 564 686 326 260 243 731 667 287 647 724 + 0;
  • 8 309 393 212 564 686 326 260 243 731 667 287 647 724 ÷ 2 = 4 154 696 606 282 343 163 130 121 865 833 643 823 862 + 0;
  • 4 154 696 606 282 343 163 130 121 865 833 643 823 862 ÷ 2 = 2 077 348 303 141 171 581 565 060 932 916 821 911 931 + 0;
  • 2 077 348 303 141 171 581 565 060 932 916 821 911 931 ÷ 2 = 1 038 674 151 570 585 790 782 530 466 458 410 955 965 + 1;
  • 1 038 674 151 570 585 790 782 530 466 458 410 955 965 ÷ 2 = 519 337 075 785 292 895 391 265 233 229 205 477 982 + 1;
  • 519 337 075 785 292 895 391 265 233 229 205 477 982 ÷ 2 = 259 668 537 892 646 447 695 632 616 614 602 738 991 + 0;
  • 259 668 537 892 646 447 695 632 616 614 602 738 991 ÷ 2 = 129 834 268 946 323 223 847 816 308 307 301 369 495 + 1;
  • 129 834 268 946 323 223 847 816 308 307 301 369 495 ÷ 2 = 64 917 134 473 161 611 923 908 154 153 650 684 747 + 1;
  • 64 917 134 473 161 611 923 908 154 153 650 684 747 ÷ 2 = 32 458 567 236 580 805 961 954 077 076 825 342 373 + 1;
  • 32 458 567 236 580 805 961 954 077 076 825 342 373 ÷ 2 = 16 229 283 618 290 402 980 977 038 538 412 671 186 + 1;
  • 16 229 283 618 290 402 980 977 038 538 412 671 186 ÷ 2 = 8 114 641 809 145 201 490 488 519 269 206 335 593 + 0;
  • 8 114 641 809 145 201 490 488 519 269 206 335 593 ÷ 2 = 4 057 320 904 572 600 745 244 259 634 603 167 796 + 1;
  • 4 057 320 904 572 600 745 244 259 634 603 167 796 ÷ 2 = 2 028 660 452 286 300 372 622 129 817 301 583 898 + 0;
  • 2 028 660 452 286 300 372 622 129 817 301 583 898 ÷ 2 = 1 014 330 226 143 150 186 311 064 908 650 791 949 + 0;
  • 1 014 330 226 143 150 186 311 064 908 650 791 949 ÷ 2 = 507 165 113 071 575 093 155 532 454 325 395 974 + 1;
  • 507 165 113 071 575 093 155 532 454 325 395 974 ÷ 2 = 253 582 556 535 787 546 577 766 227 162 697 987 + 0;
  • 253 582 556 535 787 546 577 766 227 162 697 987 ÷ 2 = 126 791 278 267 893 773 288 883 113 581 348 993 + 1;
  • 126 791 278 267 893 773 288 883 113 581 348 993 ÷ 2 = 63 395 639 133 946 886 644 441 556 790 674 496 + 1;
  • 63 395 639 133 946 886 644 441 556 790 674 496 ÷ 2 = 31 697 819 566 973 443 322 220 778 395 337 248 + 0;
  • 31 697 819 566 973 443 322 220 778 395 337 248 ÷ 2 = 15 848 909 783 486 721 661 110 389 197 668 624 + 0;
  • 15 848 909 783 486 721 661 110 389 197 668 624 ÷ 2 = 7 924 454 891 743 360 830 555 194 598 834 312 + 0;
  • 7 924 454 891 743 360 830 555 194 598 834 312 ÷ 2 = 3 962 227 445 871 680 415 277 597 299 417 156 + 0;
  • 3 962 227 445 871 680 415 277 597 299 417 156 ÷ 2 = 1 981 113 722 935 840 207 638 798 649 708 578 + 0;
  • 1 981 113 722 935 840 207 638 798 649 708 578 ÷ 2 = 990 556 861 467 920 103 819 399 324 854 289 + 0;
  • 990 556 861 467 920 103 819 399 324 854 289 ÷ 2 = 495 278 430 733 960 051 909 699 662 427 144 + 1;
  • 495 278 430 733 960 051 909 699 662 427 144 ÷ 2 = 247 639 215 366 980 025 954 849 831 213 572 + 0;
  • 247 639 215 366 980 025 954 849 831 213 572 ÷ 2 = 123 819 607 683 490 012 977 424 915 606 786 + 0;
  • 123 819 607 683 490 012 977 424 915 606 786 ÷ 2 = 61 909 803 841 745 006 488 712 457 803 393 + 0;
  • 61 909 803 841 745 006 488 712 457 803 393 ÷ 2 = 30 954 901 920 872 503 244 356 228 901 696 + 1;
  • 30 954 901 920 872 503 244 356 228 901 696 ÷ 2 = 15 477 450 960 436 251 622 178 114 450 848 + 0;
  • 15 477 450 960 436 251 622 178 114 450 848 ÷ 2 = 7 738 725 480 218 125 811 089 057 225 424 + 0;
  • 7 738 725 480 218 125 811 089 057 225 424 ÷ 2 = 3 869 362 740 109 062 905 544 528 612 712 + 0;
  • 3 869 362 740 109 062 905 544 528 612 712 ÷ 2 = 1 934 681 370 054 531 452 772 264 306 356 + 0;
  • 1 934 681 370 054 531 452 772 264 306 356 ÷ 2 = 967 340 685 027 265 726 386 132 153 178 + 0;
  • 967 340 685 027 265 726 386 132 153 178 ÷ 2 = 483 670 342 513 632 863 193 066 076 589 + 0;
  • 483 670 342 513 632 863 193 066 076 589 ÷ 2 = 241 835 171 256 816 431 596 533 038 294 + 1;
  • 241 835 171 256 816 431 596 533 038 294 ÷ 2 = 120 917 585 628 408 215 798 266 519 147 + 0;
  • 120 917 585 628 408 215 798 266 519 147 ÷ 2 = 60 458 792 814 204 107 899 133 259 573 + 1;
  • 60 458 792 814 204 107 899 133 259 573 ÷ 2 = 30 229 396 407 102 053 949 566 629 786 + 1;
  • 30 229 396 407 102 053 949 566 629 786 ÷ 2 = 15 114 698 203 551 026 974 783 314 893 + 0;
  • 15 114 698 203 551 026 974 783 314 893 ÷ 2 = 7 557 349 101 775 513 487 391 657 446 + 1;
  • 7 557 349 101 775 513 487 391 657 446 ÷ 2 = 3 778 674 550 887 756 743 695 828 723 + 0;
  • 3 778 674 550 887 756 743 695 828 723 ÷ 2 = 1 889 337 275 443 878 371 847 914 361 + 1;
  • 1 889 337 275 443 878 371 847 914 361 ÷ 2 = 944 668 637 721 939 185 923 957 180 + 1;
  • 944 668 637 721 939 185 923 957 180 ÷ 2 = 472 334 318 860 969 592 961 978 590 + 0;
  • 472 334 318 860 969 592 961 978 590 ÷ 2 = 236 167 159 430 484 796 480 989 295 + 0;
  • 236 167 159 430 484 796 480 989 295 ÷ 2 = 118 083 579 715 242 398 240 494 647 + 1;
  • 118 083 579 715 242 398 240 494 647 ÷ 2 = 59 041 789 857 621 199 120 247 323 + 1;
  • 59 041 789 857 621 199 120 247 323 ÷ 2 = 29 520 894 928 810 599 560 123 661 + 1;
  • 29 520 894 928 810 599 560 123 661 ÷ 2 = 14 760 447 464 405 299 780 061 830 + 1;
  • 14 760 447 464 405 299 780 061 830 ÷ 2 = 7 380 223 732 202 649 890 030 915 + 0;
  • 7 380 223 732 202 649 890 030 915 ÷ 2 = 3 690 111 866 101 324 945 015 457 + 1;
  • 3 690 111 866 101 324 945 015 457 ÷ 2 = 1 845 055 933 050 662 472 507 728 + 1;
  • 1 845 055 933 050 662 472 507 728 ÷ 2 = 922 527 966 525 331 236 253 864 + 0;
  • 922 527 966 525 331 236 253 864 ÷ 2 = 461 263 983 262 665 618 126 932 + 0;
  • 461 263 983 262 665 618 126 932 ÷ 2 = 230 631 991 631 332 809 063 466 + 0;
  • 230 631 991 631 332 809 063 466 ÷ 2 = 115 315 995 815 666 404 531 733 + 0;
  • 115 315 995 815 666 404 531 733 ÷ 2 = 57 657 997 907 833 202 265 866 + 1;
  • 57 657 997 907 833 202 265 866 ÷ 2 = 28 828 998 953 916 601 132 933 + 0;
  • 28 828 998 953 916 601 132 933 ÷ 2 = 14 414 499 476 958 300 566 466 + 1;
  • 14 414 499 476 958 300 566 466 ÷ 2 = 7 207 249 738 479 150 283 233 + 0;
  • 7 207 249 738 479 150 283 233 ÷ 2 = 3 603 624 869 239 575 141 616 + 1;
  • 3 603 624 869 239 575 141 616 ÷ 2 = 1 801 812 434 619 787 570 808 + 0;
  • 1 801 812 434 619 787 570 808 ÷ 2 = 900 906 217 309 893 785 404 + 0;
  • 900 906 217 309 893 785 404 ÷ 2 = 450 453 108 654 946 892 702 + 0;
  • 450 453 108 654 946 892 702 ÷ 2 = 225 226 554 327 473 446 351 + 0;
  • 225 226 554 327 473 446 351 ÷ 2 = 112 613 277 163 736 723 175 + 1;
  • 112 613 277 163 736 723 175 ÷ 2 = 56 306 638 581 868 361 587 + 1;
  • 56 306 638 581 868 361 587 ÷ 2 = 28 153 319 290 934 180 793 + 1;
  • 28 153 319 290 934 180 793 ÷ 2 = 14 076 659 645 467 090 396 + 1;
  • 14 076 659 645 467 090 396 ÷ 2 = 7 038 329 822 733 545 198 + 0;
  • 7 038 329 822 733 545 198 ÷ 2 = 3 519 164 911 366 772 599 + 0;
  • 3 519 164 911 366 772 599 ÷ 2 = 1 759 582 455 683 386 299 + 1;
  • 1 759 582 455 683 386 299 ÷ 2 = 879 791 227 841 693 149 + 1;
  • 879 791 227 841 693 149 ÷ 2 = 439 895 613 920 846 574 + 1;
  • 439 895 613 920 846 574 ÷ 2 = 219 947 806 960 423 287 + 0;
  • 219 947 806 960 423 287 ÷ 2 = 109 973 903 480 211 643 + 1;
  • 109 973 903 480 211 643 ÷ 2 = 54 986 951 740 105 821 + 1;
  • 54 986 951 740 105 821 ÷ 2 = 27 493 475 870 052 910 + 1;
  • 27 493 475 870 052 910 ÷ 2 = 13 746 737 935 026 455 + 0;
  • 13 746 737 935 026 455 ÷ 2 = 6 873 368 967 513 227 + 1;
  • 6 873 368 967 513 227 ÷ 2 = 3 436 684 483 756 613 + 1;
  • 3 436 684 483 756 613 ÷ 2 = 1 718 342 241 878 306 + 1;
  • 1 718 342 241 878 306 ÷ 2 = 859 171 120 939 153 + 0;
  • 859 171 120 939 153 ÷ 2 = 429 585 560 469 576 + 1;
  • 429 585 560 469 576 ÷ 2 = 214 792 780 234 788 + 0;
  • 214 792 780 234 788 ÷ 2 = 107 396 390 117 394 + 0;
  • 107 396 390 117 394 ÷ 2 = 53 698 195 058 697 + 0;
  • 53 698 195 058 697 ÷ 2 = 26 849 097 529 348 + 1;
  • 26 849 097 529 348 ÷ 2 = 13 424 548 764 674 + 0;
  • 13 424 548 764 674 ÷ 2 = 6 712 274 382 337 + 0;
  • 6 712 274 382 337 ÷ 2 = 3 356 137 191 168 + 1;
  • 3 356 137 191 168 ÷ 2 = 1 678 068 595 584 + 0;
  • 1 678 068 595 584 ÷ 2 = 839 034 297 792 + 0;
  • 839 034 297 792 ÷ 2 = 419 517 148 896 + 0;
  • 419 517 148 896 ÷ 2 = 209 758 574 448 + 0;
  • 209 758 574 448 ÷ 2 = 104 879 287 224 + 0;
  • 104 879 287 224 ÷ 2 = 52 439 643 612 + 0;
  • 52 439 643 612 ÷ 2 = 26 219 821 806 + 0;
  • 26 219 821 806 ÷ 2 = 13 109 910 903 + 0;
  • 13 109 910 903 ÷ 2 = 6 554 955 451 + 1;
  • 6 554 955 451 ÷ 2 = 3 277 477 725 + 1;
  • 3 277 477 725 ÷ 2 = 1 638 738 862 + 1;
  • 1 638 738 862 ÷ 2 = 819 369 431 + 0;
  • 819 369 431 ÷ 2 = 409 684 715 + 1;
  • 409 684 715 ÷ 2 = 204 842 357 + 1;
  • 204 842 357 ÷ 2 = 102 421 178 + 1;
  • 102 421 178 ÷ 2 = 51 210 589 + 0;
  • 51 210 589 ÷ 2 = 25 605 294 + 1;
  • 25 605 294 ÷ 2 = 12 802 647 + 0;
  • 12 802 647 ÷ 2 = 6 401 323 + 1;
  • 6 401 323 ÷ 2 = 3 200 661 + 1;
  • 3 200 661 ÷ 2 = 1 600 330 + 1;
  • 1 600 330 ÷ 2 = 800 165 + 0;
  • 800 165 ÷ 2 = 400 082 + 1;
  • 400 082 ÷ 2 = 200 041 + 0;
  • 200 041 ÷ 2 = 100 020 + 1;
  • 100 020 ÷ 2 = 50 010 + 0;
  • 50 010 ÷ 2 = 25 005 + 0;
  • 25 005 ÷ 2 = 12 502 + 1;
  • 12 502 ÷ 2 = 6 251 + 0;
  • 6 251 ÷ 2 = 3 125 + 1;
  • 3 125 ÷ 2 = 1 562 + 1;
  • 1 562 ÷ 2 = 781 + 0;
  • 781 ÷ 2 = 390 + 1;
  • 390 ÷ 2 = 195 + 0;
  • 195 ÷ 2 = 97 + 1;
  • 97 ÷ 2 = 48 + 1;
  • 48 ÷ 2 = 24 + 0;
  • 24 ÷ 2 = 12 + 0;
  • 12 ÷ 2 = 6 + 0;
  • 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.

627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852(10) =


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


4. Normalize the binary representation of the number.

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


627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852(10) =


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


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


1.1000 0110 1011 0100 1010 1110 1011 1011 1000 0000 0100 1000 1011 1011 1011 1001 1110 0001 0101 0000 1101 1110 0110 1011 0100 0000 1000 1000 0001 1010 0101 1110 1100 0010 0110 1100 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 0110 1100(2) × 2208


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


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


6. Adjust the exponent.

Use the 11 bit excess/bias notation:


Exponent (adjusted) =


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


208 + 2(11-1) - 1 =


(208 + 1 023)(10) =


1 231(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 231 ÷ 2 = 615 + 1;
  • 615 ÷ 2 = 307 + 1;
  • 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;

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


1231(10) =


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


1000 0110 1011 0100 1010 1110 1011 1011 1000 0000 0100 1000 1011


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

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


Exponent (11 bits) =
100 1100 1111


Mantissa (52 bits) =
1000 0110 1011 0100 1010 1110 1011 1011 1000 0000 0100 1000 1011


Decimal number -627 839 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 852 converted to 64 bit double precision IEEE 754 binary floating point representation:

1 - 100 1100 1111 - 1000 0110 1011 0100 1010 1110 1011 1011 1000 0000 0100 1000 1011


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