621 300 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 170 scris ca binar pe 64 biți, precizie dublă, virgulă mobilă în standard IEEE 754

Scriere 621 300 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 170(10) din zecimal în binar pe 64 de biți, precizie dublă, în virgulă mobilă în standard IEEE 754 (1 bit pentru semn, 11 biți pentru exponent, 52 de biți pentru mantisă)

Care sunt pașii pentru a scrie numărul
621 300 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 170(10) din zecimal în binar în reprezentarea pe 64 biți, precizie dublă, în virgulă mobilă în standard IEEE 754 (1 bit pentru semn, 11 biți pentru exponent, 52 de biți pentru mantisă)

1. Împarte numărul în mod repetat la 2.

Notăm mai jos, în ordine, fiecare rest al împărțirilor.

Ne oprim când obținem un cât egal cu zero.


  • împărțire = cât + rest;
  • 621 300 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 170 : 2 = 310 650 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 085 + 0;
  • 310 650 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 085 : 2 = 155 325 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 042 + 1;
  • 155 325 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 042 : 2 = 77 662 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 021 + 0;
  • 77 662 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 021 : 2 = 38 831 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 010 + 1;
  • 38 831 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 010 : 2 = 19 415 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 005 + 0;
  • 19 415 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 005 : 2 = 9 707 812 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 002 + 1;
  • 9 707 812 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 002 : 2 = 4 853 906 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 001 + 0;
  • 4 853 906 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 001 : 2 = 2 426 953 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 1;
  • 2 426 953 125 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 1 213 476 562 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 1 213 476 562 500 000 000 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 606 738 281 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 606 738 281 250 000 000 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 303 369 140 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 303 369 140 625 000 000 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 151 684 570 312 500 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 151 684 570 312 500 000 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 75 842 285 156 250 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 75 842 285 156 250 000 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 37 921 142 578 125 000 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 37 921 142 578 125 000 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 18 960 571 289 062 500 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 18 960 571 289 062 500 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 9 480 285 644 531 250 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 9 480 285 644 531 250 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 4 740 142 822 265 625 000 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 4 740 142 822 265 625 000 000 000 000 000 000 000 000 000 000 000 000 : 2 = 2 370 071 411 132 812 500 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 2 370 071 411 132 812 500 000 000 000 000 000 000 000 000 000 000 000 : 2 = 1 185 035 705 566 406 250 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 1 185 035 705 566 406 250 000 000 000 000 000 000 000 000 000 000 000 : 2 = 592 517 852 783 203 125 000 000 000 000 000 000 000 000 000 000 000 + 0;
  • 592 517 852 783 203 125 000 000 000 000 000 000 000 000 000 000 000 : 2 = 296 258 926 391 601 562 500 000 000 000 000 000 000 000 000 000 000 + 0;
  • 296 258 926 391 601 562 500 000 000 000 000 000 000 000 000 000 000 : 2 = 148 129 463 195 800 781 250 000 000 000 000 000 000 000 000 000 000 + 0;
  • 148 129 463 195 800 781 250 000 000 000 000 000 000 000 000 000 000 : 2 = 74 064 731 597 900 390 625 000 000 000 000 000 000 000 000 000 000 + 0;
  • 74 064 731 597 900 390 625 000 000 000 000 000 000 000 000 000 000 : 2 = 37 032 365 798 950 195 312 500 000 000 000 000 000 000 000 000 000 + 0;
  • 37 032 365 798 950 195 312 500 000 000 000 000 000 000 000 000 000 : 2 = 18 516 182 899 475 097 656 250 000 000 000 000 000 000 000 000 000 + 0;
  • 18 516 182 899 475 097 656 250 000 000 000 000 000 000 000 000 000 : 2 = 9 258 091 449 737 548 828 125 000 000 000 000 000 000 000 000 000 + 0;
  • 9 258 091 449 737 548 828 125 000 000 000 000 000 000 000 000 000 : 2 = 4 629 045 724 868 774 414 062 500 000 000 000 000 000 000 000 000 + 0;
  • 4 629 045 724 868 774 414 062 500 000 000 000 000 000 000 000 000 : 2 = 2 314 522 862 434 387 207 031 250 000 000 000 000 000 000 000 000 + 0;
  • 2 314 522 862 434 387 207 031 250 000 000 000 000 000 000 000 000 : 2 = 1 157 261 431 217 193 603 515 625 000 000 000 000 000 000 000 000 + 0;
  • 1 157 261 431 217 193 603 515 625 000 000 000 000 000 000 000 000 : 2 = 578 630 715 608 596 801 757 812 500 000 000 000 000 000 000 000 + 0;
  • 578 630 715 608 596 801 757 812 500 000 000 000 000 000 000 000 : 2 = 289 315 357 804 298 400 878 906 250 000 000 000 000 000 000 000 + 0;
  • 289 315 357 804 298 400 878 906 250 000 000 000 000 000 000 000 : 2 = 144 657 678 902 149 200 439 453 125 000 000 000 000 000 000 000 + 0;
  • 144 657 678 902 149 200 439 453 125 000 000 000 000 000 000 000 : 2 = 72 328 839 451 074 600 219 726 562 500 000 000 000 000 000 000 + 0;
  • 72 328 839 451 074 600 219 726 562 500 000 000 000 000 000 000 : 2 = 36 164 419 725 537 300 109 863 281 250 000 000 000 000 000 000 + 0;
  • 36 164 419 725 537 300 109 863 281 250 000 000 000 000 000 000 : 2 = 18 082 209 862 768 650 054 931 640 625 000 000 000 000 000 000 + 0;
  • 18 082 209 862 768 650 054 931 640 625 000 000 000 000 000 000 : 2 = 9 041 104 931 384 325 027 465 820 312 500 000 000 000 000 000 + 0;
  • 9 041 104 931 384 325 027 465 820 312 500 000 000 000 000 000 : 2 = 4 520 552 465 692 162 513 732 910 156 250 000 000 000 000 000 + 0;
  • 4 520 552 465 692 162 513 732 910 156 250 000 000 000 000 000 : 2 = 2 260 276 232 846 081 256 866 455 078 125 000 000 000 000 000 + 0;
  • 2 260 276 232 846 081 256 866 455 078 125 000 000 000 000 000 : 2 = 1 130 138 116 423 040 628 433 227 539 062 500 000 000 000 000 + 0;
  • 1 130 138 116 423 040 628 433 227 539 062 500 000 000 000 000 : 2 = 565 069 058 211 520 314 216 613 769 531 250 000 000 000 000 + 0;
  • 565 069 058 211 520 314 216 613 769 531 250 000 000 000 000 : 2 = 282 534 529 105 760 157 108 306 884 765 625 000 000 000 000 + 0;
  • 282 534 529 105 760 157 108 306 884 765 625 000 000 000 000 : 2 = 141 267 264 552 880 078 554 153 442 382 812 500 000 000 000 + 0;
  • 141 267 264 552 880 078 554 153 442 382 812 500 000 000 000 : 2 = 70 633 632 276 440 039 277 076 721 191 406 250 000 000 000 + 0;
  • 70 633 632 276 440 039 277 076 721 191 406 250 000 000 000 : 2 = 35 316 816 138 220 019 638 538 360 595 703 125 000 000 000 + 0;
  • 35 316 816 138 220 019 638 538 360 595 703 125 000 000 000 : 2 = 17 658 408 069 110 009 819 269 180 297 851 562 500 000 000 + 0;
  • 17 658 408 069 110 009 819 269 180 297 851 562 500 000 000 : 2 = 8 829 204 034 555 004 909 634 590 148 925 781 250 000 000 + 0;
  • 8 829 204 034 555 004 909 634 590 148 925 781 250 000 000 : 2 = 4 414 602 017 277 502 454 817 295 074 462 890 625 000 000 + 0;
  • 4 414 602 017 277 502 454 817 295 074 462 890 625 000 000 : 2 = 2 207 301 008 638 751 227 408 647 537 231 445 312 500 000 + 0;
  • 2 207 301 008 638 751 227 408 647 537 231 445 312 500 000 : 2 = 1 103 650 504 319 375 613 704 323 768 615 722 656 250 000 + 0;
  • 1 103 650 504 319 375 613 704 323 768 615 722 656 250 000 : 2 = 551 825 252 159 687 806 852 161 884 307 861 328 125 000 + 0;
  • 551 825 252 159 687 806 852 161 884 307 861 328 125 000 : 2 = 275 912 626 079 843 903 426 080 942 153 930 664 062 500 + 0;
  • 275 912 626 079 843 903 426 080 942 153 930 664 062 500 : 2 = 137 956 313 039 921 951 713 040 471 076 965 332 031 250 + 0;
  • 137 956 313 039 921 951 713 040 471 076 965 332 031 250 : 2 = 68 978 156 519 960 975 856 520 235 538 482 666 015 625 + 0;
  • 68 978 156 519 960 975 856 520 235 538 482 666 015 625 : 2 = 34 489 078 259 980 487 928 260 117 769 241 333 007 812 + 1;
  • 34 489 078 259 980 487 928 260 117 769 241 333 007 812 : 2 = 17 244 539 129 990 243 964 130 058 884 620 666 503 906 + 0;
  • 17 244 539 129 990 243 964 130 058 884 620 666 503 906 : 2 = 8 622 269 564 995 121 982 065 029 442 310 333 251 953 + 0;
  • 8 622 269 564 995 121 982 065 029 442 310 333 251 953 : 2 = 4 311 134 782 497 560 991 032 514 721 155 166 625 976 + 1;
  • 4 311 134 782 497 560 991 032 514 721 155 166 625 976 : 2 = 2 155 567 391 248 780 495 516 257 360 577 583 312 988 + 0;
  • 2 155 567 391 248 780 495 516 257 360 577 583 312 988 : 2 = 1 077 783 695 624 390 247 758 128 680 288 791 656 494 + 0;
  • 1 077 783 695 624 390 247 758 128 680 288 791 656 494 : 2 = 538 891 847 812 195 123 879 064 340 144 395 828 247 + 0;
  • 538 891 847 812 195 123 879 064 340 144 395 828 247 : 2 = 269 445 923 906 097 561 939 532 170 072 197 914 123 + 1;
  • 269 445 923 906 097 561 939 532 170 072 197 914 123 : 2 = 134 722 961 953 048 780 969 766 085 036 098 957 061 + 1;
  • 134 722 961 953 048 780 969 766 085 036 098 957 061 : 2 = 67 361 480 976 524 390 484 883 042 518 049 478 530 + 1;
  • 67 361 480 976 524 390 484 883 042 518 049 478 530 : 2 = 33 680 740 488 262 195 242 441 521 259 024 739 265 + 0;
  • 33 680 740 488 262 195 242 441 521 259 024 739 265 : 2 = 16 840 370 244 131 097 621 220 760 629 512 369 632 + 1;
  • 16 840 370 244 131 097 621 220 760 629 512 369 632 : 2 = 8 420 185 122 065 548 810 610 380 314 756 184 816 + 0;
  • 8 420 185 122 065 548 810 610 380 314 756 184 816 : 2 = 4 210 092 561 032 774 405 305 190 157 378 092 408 + 0;
  • 4 210 092 561 032 774 405 305 190 157 378 092 408 : 2 = 2 105 046 280 516 387 202 652 595 078 689 046 204 + 0;
  • 2 105 046 280 516 387 202 652 595 078 689 046 204 : 2 = 1 052 523 140 258 193 601 326 297 539 344 523 102 + 0;
  • 1 052 523 140 258 193 601 326 297 539 344 523 102 : 2 = 526 261 570 129 096 800 663 148 769 672 261 551 + 0;
  • 526 261 570 129 096 800 663 148 769 672 261 551 : 2 = 263 130 785 064 548 400 331 574 384 836 130 775 + 1;
  • 263 130 785 064 548 400 331 574 384 836 130 775 : 2 = 131 565 392 532 274 200 165 787 192 418 065 387 + 1;
  • 131 565 392 532 274 200 165 787 192 418 065 387 : 2 = 65 782 696 266 137 100 082 893 596 209 032 693 + 1;
  • 65 782 696 266 137 100 082 893 596 209 032 693 : 2 = 32 891 348 133 068 550 041 446 798 104 516 346 + 1;
  • 32 891 348 133 068 550 041 446 798 104 516 346 : 2 = 16 445 674 066 534 275 020 723 399 052 258 173 + 0;
  • 16 445 674 066 534 275 020 723 399 052 258 173 : 2 = 8 222 837 033 267 137 510 361 699 526 129 086 + 1;
  • 8 222 837 033 267 137 510 361 699 526 129 086 : 2 = 4 111 418 516 633 568 755 180 849 763 064 543 + 0;
  • 4 111 418 516 633 568 755 180 849 763 064 543 : 2 = 2 055 709 258 316 784 377 590 424 881 532 271 + 1;
  • 2 055 709 258 316 784 377 590 424 881 532 271 : 2 = 1 027 854 629 158 392 188 795 212 440 766 135 + 1;
  • 1 027 854 629 158 392 188 795 212 440 766 135 : 2 = 513 927 314 579 196 094 397 606 220 383 067 + 1;
  • 513 927 314 579 196 094 397 606 220 383 067 : 2 = 256 963 657 289 598 047 198 803 110 191 533 + 1;
  • 256 963 657 289 598 047 198 803 110 191 533 : 2 = 128 481 828 644 799 023 599 401 555 095 766 + 1;
  • 128 481 828 644 799 023 599 401 555 095 766 : 2 = 64 240 914 322 399 511 799 700 777 547 883 + 0;
  • 64 240 914 322 399 511 799 700 777 547 883 : 2 = 32 120 457 161 199 755 899 850 388 773 941 + 1;
  • 32 120 457 161 199 755 899 850 388 773 941 : 2 = 16 060 228 580 599 877 949 925 194 386 970 + 1;
  • 16 060 228 580 599 877 949 925 194 386 970 : 2 = 8 030 114 290 299 938 974 962 597 193 485 + 0;
  • 8 030 114 290 299 938 974 962 597 193 485 : 2 = 4 015 057 145 149 969 487 481 298 596 742 + 1;
  • 4 015 057 145 149 969 487 481 298 596 742 : 2 = 2 007 528 572 574 984 743 740 649 298 371 + 0;
  • 2 007 528 572 574 984 743 740 649 298 371 : 2 = 1 003 764 286 287 492 371 870 324 649 185 + 1;
  • 1 003 764 286 287 492 371 870 324 649 185 : 2 = 501 882 143 143 746 185 935 162 324 592 + 1;
  • 501 882 143 143 746 185 935 162 324 592 : 2 = 250 941 071 571 873 092 967 581 162 296 + 0;
  • 250 941 071 571 873 092 967 581 162 296 : 2 = 125 470 535 785 936 546 483 790 581 148 + 0;
  • 125 470 535 785 936 546 483 790 581 148 : 2 = 62 735 267 892 968 273 241 895 290 574 + 0;
  • 62 735 267 892 968 273 241 895 290 574 : 2 = 31 367 633 946 484 136 620 947 645 287 + 0;
  • 31 367 633 946 484 136 620 947 645 287 : 2 = 15 683 816 973 242 068 310 473 822 643 + 1;
  • 15 683 816 973 242 068 310 473 822 643 : 2 = 7 841 908 486 621 034 155 236 911 321 + 1;
  • 7 841 908 486 621 034 155 236 911 321 : 2 = 3 920 954 243 310 517 077 618 455 660 + 1;
  • 3 920 954 243 310 517 077 618 455 660 : 2 = 1 960 477 121 655 258 538 809 227 830 + 0;
  • 1 960 477 121 655 258 538 809 227 830 : 2 = 980 238 560 827 629 269 404 613 915 + 0;
  • 980 238 560 827 629 269 404 613 915 : 2 = 490 119 280 413 814 634 702 306 957 + 1;
  • 490 119 280 413 814 634 702 306 957 : 2 = 245 059 640 206 907 317 351 153 478 + 1;
  • 245 059 640 206 907 317 351 153 478 : 2 = 122 529 820 103 453 658 675 576 739 + 0;
  • 122 529 820 103 453 658 675 576 739 : 2 = 61 264 910 051 726 829 337 788 369 + 1;
  • 61 264 910 051 726 829 337 788 369 : 2 = 30 632 455 025 863 414 668 894 184 + 1;
  • 30 632 455 025 863 414 668 894 184 : 2 = 15 316 227 512 931 707 334 447 092 + 0;
  • 15 316 227 512 931 707 334 447 092 : 2 = 7 658 113 756 465 853 667 223 546 + 0;
  • 7 658 113 756 465 853 667 223 546 : 2 = 3 829 056 878 232 926 833 611 773 + 0;
  • 3 829 056 878 232 926 833 611 773 : 2 = 1 914 528 439 116 463 416 805 886 + 1;
  • 1 914 528 439 116 463 416 805 886 : 2 = 957 264 219 558 231 708 402 943 + 0;
  • 957 264 219 558 231 708 402 943 : 2 = 478 632 109 779 115 854 201 471 + 1;
  • 478 632 109 779 115 854 201 471 : 2 = 239 316 054 889 557 927 100 735 + 1;
  • 239 316 054 889 557 927 100 735 : 2 = 119 658 027 444 778 963 550 367 + 1;
  • 119 658 027 444 778 963 550 367 : 2 = 59 829 013 722 389 481 775 183 + 1;
  • 59 829 013 722 389 481 775 183 : 2 = 29 914 506 861 194 740 887 591 + 1;
  • 29 914 506 861 194 740 887 591 : 2 = 14 957 253 430 597 370 443 795 + 1;
  • 14 957 253 430 597 370 443 795 : 2 = 7 478 626 715 298 685 221 897 + 1;
  • 7 478 626 715 298 685 221 897 : 2 = 3 739 313 357 649 342 610 948 + 1;
  • 3 739 313 357 649 342 610 948 : 2 = 1 869 656 678 824 671 305 474 + 0;
  • 1 869 656 678 824 671 305 474 : 2 = 934 828 339 412 335 652 737 + 0;
  • 934 828 339 412 335 652 737 : 2 = 467 414 169 706 167 826 368 + 1;
  • 467 414 169 706 167 826 368 : 2 = 233 707 084 853 083 913 184 + 0;
  • 233 707 084 853 083 913 184 : 2 = 116 853 542 426 541 956 592 + 0;
  • 116 853 542 426 541 956 592 : 2 = 58 426 771 213 270 978 296 + 0;
  • 58 426 771 213 270 978 296 : 2 = 29 213 385 606 635 489 148 + 0;
  • 29 213 385 606 635 489 148 : 2 = 14 606 692 803 317 744 574 + 0;
  • 14 606 692 803 317 744 574 : 2 = 7 303 346 401 658 872 287 + 0;
  • 7 303 346 401 658 872 287 : 2 = 3 651 673 200 829 436 143 + 1;
  • 3 651 673 200 829 436 143 : 2 = 1 825 836 600 414 718 071 + 1;
  • 1 825 836 600 414 718 071 : 2 = 912 918 300 207 359 035 + 1;
  • 912 918 300 207 359 035 : 2 = 456 459 150 103 679 517 + 1;
  • 456 459 150 103 679 517 : 2 = 228 229 575 051 839 758 + 1;
  • 228 229 575 051 839 758 : 2 = 114 114 787 525 919 879 + 0;
  • 114 114 787 525 919 879 : 2 = 57 057 393 762 959 939 + 1;
  • 57 057 393 762 959 939 : 2 = 28 528 696 881 479 969 + 1;
  • 28 528 696 881 479 969 : 2 = 14 264 348 440 739 984 + 1;
  • 14 264 348 440 739 984 : 2 = 7 132 174 220 369 992 + 0;
  • 7 132 174 220 369 992 : 2 = 3 566 087 110 184 996 + 0;
  • 3 566 087 110 184 996 : 2 = 1 783 043 555 092 498 + 0;
  • 1 783 043 555 092 498 : 2 = 891 521 777 546 249 + 0;
  • 891 521 777 546 249 : 2 = 445 760 888 773 124 + 1;
  • 445 760 888 773 124 : 2 = 222 880 444 386 562 + 0;
  • 222 880 444 386 562 : 2 = 111 440 222 193 281 + 0;
  • 111 440 222 193 281 : 2 = 55 720 111 096 640 + 1;
  • 55 720 111 096 640 : 2 = 27 860 055 548 320 + 0;
  • 27 860 055 548 320 : 2 = 13 930 027 774 160 + 0;
  • 13 930 027 774 160 : 2 = 6 965 013 887 080 + 0;
  • 6 965 013 887 080 : 2 = 3 482 506 943 540 + 0;
  • 3 482 506 943 540 : 2 = 1 741 253 471 770 + 0;
  • 1 741 253 471 770 : 2 = 870 626 735 885 + 0;
  • 870 626 735 885 : 2 = 435 313 367 942 + 1;
  • 435 313 367 942 : 2 = 217 656 683 971 + 0;
  • 217 656 683 971 : 2 = 108 828 341 985 + 1;
  • 108 828 341 985 : 2 = 54 414 170 992 + 1;
  • 54 414 170 992 : 2 = 27 207 085 496 + 0;
  • 27 207 085 496 : 2 = 13 603 542 748 + 0;
  • 13 603 542 748 : 2 = 6 801 771 374 + 0;
  • 6 801 771 374 : 2 = 3 400 885 687 + 0;
  • 3 400 885 687 : 2 = 1 700 442 843 + 1;
  • 1 700 442 843 : 2 = 850 221 421 + 1;
  • 850 221 421 : 2 = 425 110 710 + 1;
  • 425 110 710 : 2 = 212 555 355 + 0;
  • 212 555 355 : 2 = 106 277 677 + 1;
  • 106 277 677 : 2 = 53 138 838 + 1;
  • 53 138 838 : 2 = 26 569 419 + 0;
  • 26 569 419 : 2 = 13 284 709 + 1;
  • 13 284 709 : 2 = 6 642 354 + 1;
  • 6 642 354 : 2 = 3 321 177 + 0;
  • 3 321 177 : 2 = 1 660 588 + 1;
  • 1 660 588 : 2 = 830 294 + 0;
  • 830 294 : 2 = 415 147 + 0;
  • 415 147 : 2 = 207 573 + 1;
  • 207 573 : 2 = 103 786 + 1;
  • 103 786 : 2 = 51 893 + 0;
  • 51 893 : 2 = 25 946 + 1;
  • 25 946 : 2 = 12 973 + 0;
  • 12 973 : 2 = 6 486 + 1;
  • 6 486 : 2 = 3 243 + 0;
  • 3 243 : 2 = 1 621 + 1;
  • 1 621 : 2 = 810 + 1;
  • 810 : 2 = 405 + 0;
  • 405 : 2 = 202 + 1;
  • 202 : 2 = 101 + 0;
  • 101 : 2 = 50 + 1;
  • 50 : 2 = 25 + 0;
  • 25 : 2 = 12 + 1;
  • 12 : 2 = 6 + 0;
  • 6 : 2 = 3 + 0;
  • 3 : 2 = 1 + 1;
  • 1 : 2 = 0 + 1;

2. Construiește reprezentarea numărului pozitiv în baza 2.

Ia fiecare rest al împărțirilor începând din partea de jos a listei construite mai sus.

621 300 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 170(10) =


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


3. Normalizează reprezentarea binară a numărului.

Mută virgula cu 188 poziții la stânga, astfel încât partea întreagă a acestuia să aibă un singur bit, diferit de 0:


621 300 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 170(10) =


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


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


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


4. Până la acest moment avem următoarele elemente ce vor alcătui numărul binar în reprezentare IEEE 754, precizie dublă (64 biți):

Semn 0 (un număr pozitiv)


Exponent (neajustat): 188


Mantisă (nenormalizată):
1,1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 1000 0111 0111 1100 0000 1001 1111 1110 1000 1101 1001 1100 0011 0101 1011 1110 1011 1100 0001 0111 0001 0010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1010 1010


5. Ajustează exponentul.

Folosește reprezentarea deplasată pe 11 biți:


Exponent (ajustat) =


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


188 + 2(11-1) - 1 =


(188 + 1 023)(10) =


1 211(10)


6. Convertește exponentul ajustat din zecimal (baza 10) în binar pe 11 biți.

Folosește din nou tehnica împărțirii repetate la 2:


  • împărțire = cât + rest;
  • 1 211 : 2 = 605 + 1;
  • 605 : 2 = 302 + 1;
  • 302 : 2 = 151 + 0;
  • 151 : 2 = 75 + 1;
  • 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;

7. Construiește reprezentarea în baza 2 a exponentului ajustat.

Ia fiecare rest al împărțirilor începând din partea de jos a listei construite mai sus.


Exponent (ajustat) =


1211(10) =


100 1011 1011(2)


8. Normalizează mantisa.

a) Renunță la primul bit, cel mai din stânga, care e întotdeauna 1, și la separatorul zecimal, dacă e cazul.


b) Ajustează-i lungimea la 52 biți, prin renunțarea la biții în exces, din dreapta (dacă măcar unul din acești biți în exces e setat pe 1, se pierde din precizie...).


Mantisă (normalizată) =


1. 1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 1000 0111 0111 1100 0000 1001 1111 1110 1000 1101 1001 1100 0011 0101 1011 1110 1011 1100 0001 0111 0001 0010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1010 1010 =


1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 1000


9. Cele trei elemente care alcătuiesc reprezentarea numărului în sistem binar pe 64 de biți, precizie dublă, în virgulă mobilă în standard IEEE 754:

Semn (1 bit) =
0 (un număr pozitiv)


Exponent (11 biți) =
100 1011 1011


Mantisă (52 biți) =
1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 1000


Numărul zecimal 621 300 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 170 scris în binar în representarea pe 64 biți, precizie dublă, în virgulă mobilă în standard IEEE 754:

0 - 100 1011 1011 - 1001 0101 0110 1010 1100 1011 0110 1110 0001 1010 0000 0100 1000


Cum să convertești numere zecimale din sistem zecimal (baza 10) în sistem binar în virgulă mobilă în reprezentarea IEEE 754, precizie dublă pe 64 de biți

Urmează pașii de mai jos pentru a converti un număr zecimal (cu virgulă) din baza zece în sistem binar în virgulă mobilă în reprezentarea IEEE 754, precizie dublă pe 64 de biți:

  • 1. Dacă numărul de convertit e negativ, începe cu versiunea pozitivă a numărului.
  • 2. Convertește întâi partea întreagă, împarte în mod repetat la 2 reprezentarea pozitivă a numărului întreg cu semn care trebuie convertit în sistem binar, ținând minte fiecare rest al împărțirilor. Atunci când găsim un CÂT care e egal cu ZERO => STOP
  • 3. Construiește apoi reprezentarea în baza 2 a părții întregi a numărului, luând fiecare rest al împărțirilor efectuate, începând din partea de jos a listei construite mai sus. Astfel, ultimul rest al împărțirilor de la punctul de mai sus devine primul simbol (situat cel mai la stânga) al numărului în baza doi, în timp ce primul rest devine ultimul simbol (situat cel mai la dreapta).
  • 4. Convertește apoi partea fracționară. Înmulțește partea fracționara în mod repetat cu 2, până se obține o parte fracționară egală cu zero, ținând minte fiecare parte întreagă a înmulțirilor.
  • 5. Construiește reprezentarea în baza 2 a părții fracționare a numărului, luând fiecare parte întreagă a rezultatelor înmulțirilor efectuate, începând din partea de sus a listei construite mai sus (se iau părțile întregi în ordinea în care au fost obținute).
  • 6. Normalizează reprezentarea binară a numărului, mutând virgula cu "n" poziții fie la stânga, fie la dreapta, astfel încât partea întreagă a numărului binar să aibă un singur bit, diferit de '0' (la stânga semnului zecimal să rămână un singur simbol, egal cu 1).
  • 7. Ajustează exponentul folosind reprezentarea deplasată pe 11 biți apoi convertește-l din zecimal (baza 10) în binar pe 11 biți, folosind tehnica împărțirii repetate la 2, așa cum am mai arătat mai sus:
    Exponent (ajustat) = Exponent (neajustat) + 2(11-1) - 1;
  • 8. Normalizează mantisa, renunțând la primul bit (cel mai din stânga), care este întotdeauna '1' (și la semnul zecimal, dacă e cazul) și ajustându-i lungimea, la 52 biți, fie renunțând la biții în exces din dreapta (pierzând precizie...), fie adaugând tot la dreapta biți setați pe '0'.
  • Semnul (ocupă 1 bit) e egal fie cu 1, dacă e număr negativ, fie cu 0, dacă e număr pozitiv.

Exemplu: convertește numărul negativ -31,640 215 din sistem zecimal (baza zece) în sistem binar în virgulă mobilă în reprezentarea IEEE 754, precizie dublă pe 64 de biți:

  • 1. Începe cu versiunea pozitivă a numărului:

    |-31,640 215| = 31,640 215;

  • 2. Convertește întâi partea întreagă, 31. Împarte numărul 31 în mod repetat la 2, ținând minte fiecare rest al împărțirilor, până obținem un cât care este egal cu zero:
    • împărțire = cât + rest;
    • 31 : 2 = 15 + 1;
    • 15 : 2 = 7 + 1;
    • 7 : 2 = 3 + 1;
    • 3 : 2 = 1 + 1;
    • 1 : 2 = 0 + 1;
    • Am obținut un cât care este egal cu ZERO => STOP
  • 3. Construiește reprezentarea în baza 2 a părții întregi a numărului, luând fiecare rest al împărțirilor începând din partea de jos a listei construite mai sus:

    31(10) = 1 1111(2)

  • 4. Convertește apoi partea fracționară 0,640 215. Înmulțește în mod repetat cu 2, ținând minte fiecare parte întreagă a înmulțirilor, până obținem o parte fracționară egală cu zero:
    • #) înmulțire = întreg + fracționar;
    • 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;
    • Nicio parte fracționară egală cu zero n-a fost obținută prin calcule. Însă am efectuat un număr suficient de iterații (peste limita de Mantisă = 52) și a fost calculată măcar o parte întreagă diferită de zero => STOP (pierzând precizie...).
  • 5. Construiește reprezentarea în baza 2 a părții fracționare a numărului, luând fiecare parte întreagă a rezultatelor înmulțirilor efectuate anterior, începând din partea de sus a listei construite:

    0,640 215(10) = 0,1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0(2)

  • 6. Recapitulare - numărul pozitiv înainte de normalizare:

    31,640 215(10) = 1 1111,1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0(2)

  • 7. Normalizează reprezentarea binară a numărului, mutând virgula cu 4 poziții la stânga astfel încât partea întreagă a acestuia să aibă un singur bit, diferit de '0':

    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. Până la acest moment avem următoarele elemente ce vor alcătui numărul binar în reprezentare IEEE 754, precizie dublă (64 biți):

    Semn: 1 (număr negativ);

    Exponent (neajustat): 4;

    Mantisă (nenormalizată): 1,1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0;

  • 9. Ajustează exponentul folosind reprezentarea deplasată pe 11 biți apoi convertește-l din zecimal (baza 10) în binar pe 11 biți, folosind tehnica împărțirii repetate la 2, așa cum am mai arătat mai sus:

    Exponent (ajustat) = Exponent (neajustat) + 2(11-1) - 1 = (4 + 1023)(10) = 1027(10) =
    100 0000 0011(2)

  • 10. Normalizează mantisa, renunțând la primul bit (cel mai din stânga), care e întotdeauna '1' (și la semnul zecimal) și ajustându-i lungimea, la 52 biți, prin renunțarea la biții în exces, din dreapta (pierzând precizie...):

    Mantisă (nenormalizată): 1,1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100 1010 0

    Mantisă (normalizată): 1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100

  • Concluzia:

    Semn (1 bit) = 1 (număr negativ)

    Exponent (11 biți) = 100 0000 0011

    Mantisă (52 biți) = 1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100

  • Numărul -31,640 215, zecimal, convertit din sistem zecimal (baza 10) în binar pe 64 de biți, precizie dublă, în virgulă mobilă în standard IEEE 754 este:
    1 - 100 0000 0011 - 1111 1010 0011 1110 0101 0010 0001 0101 0111 0110 1000 1001 1100