0.000 000 000 000 000 000 000 000 000 000 000 006 018 473 Converted to 32 Bit Single Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 0.000 000 000 000 000 000 000 000 000 000 000 006 018 473(10) to 32 bit single precision IEEE 754 binary floating point representation standard (1 bit for sign, 8 bits for exponent, 23 bits for mantissa)

What are the steps to convert decimal number
0.000 000 000 000 000 000 000 000 000 000 000 006 018 473(10) to 32 bit single precision IEEE 754 binary floating point representation (1 bit for sign, 8 bits for exponent, 23 bits for mantissa)

1. First, convert to binary (in base 2) the integer part: 0.
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;
  • 0 ÷ 2 = 0 + 0;

2. Construct the base 2 representation of the integer part of the number.

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

0(10) =


0(2)


3. Convert to binary (base 2) the fractional part: 0.000 000 000 000 000 000 000 000 000 000 000 006 018 473.

Multiply it repeatedly by 2.


Keep track of each integer part of the results.


Stop when we get a fractional part that is equal to zero.


  • #) multiplying = integer + fractional part;
  • 1) 0.000 000 000 000 000 000 000 000 000 000 000 006 018 473 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 012 036 946;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 012 036 946 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 024 073 892;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 024 073 892 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 048 147 784;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 048 147 784 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 096 295 568;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 096 295 568 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 192 591 136;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 192 591 136 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 385 182 272;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 385 182 272 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 770 364 544;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 770 364 544 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 540 729 088;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 001 540 729 088 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 003 081 458 176;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 003 081 458 176 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 006 162 916 352;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 006 162 916 352 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 012 325 832 704;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 012 325 832 704 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 024 651 665 408;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 024 651 665 408 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 049 303 330 816;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 049 303 330 816 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 098 606 661 632;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 098 606 661 632 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 197 213 323 264;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 197 213 323 264 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 394 426 646 528;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 394 426 646 528 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 788 853 293 056;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 788 853 293 056 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 577 706 586 112;
  • 19) 0.000 000 000 000 000 000 000 000 000 001 577 706 586 112 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 003 155 413 172 224;
  • 20) 0.000 000 000 000 000 000 000 000 000 003 155 413 172 224 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 006 310 826 344 448;
  • 21) 0.000 000 000 000 000 000 000 000 000 006 310 826 344 448 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 012 621 652 688 896;
  • 22) 0.000 000 000 000 000 000 000 000 000 012 621 652 688 896 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 025 243 305 377 792;
  • 23) 0.000 000 000 000 000 000 000 000 000 025 243 305 377 792 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 050 486 610 755 584;
  • 24) 0.000 000 000 000 000 000 000 000 000 050 486 610 755 584 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 100 973 221 511 168;
  • 25) 0.000 000 000 000 000 000 000 000 000 100 973 221 511 168 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 201 946 443 022 336;
  • 26) 0.000 000 000 000 000 000 000 000 000 201 946 443 022 336 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 403 892 886 044 672;
  • 27) 0.000 000 000 000 000 000 000 000 000 403 892 886 044 672 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 807 785 772 089 344;
  • 28) 0.000 000 000 000 000 000 000 000 000 807 785 772 089 344 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 615 571 544 178 688;
  • 29) 0.000 000 000 000 000 000 000 000 001 615 571 544 178 688 × 2 = 0 + 0.000 000 000 000 000 000 000 000 003 231 143 088 357 376;
  • 30) 0.000 000 000 000 000 000 000 000 003 231 143 088 357 376 × 2 = 0 + 0.000 000 000 000 000 000 000 000 006 462 286 176 714 752;
  • 31) 0.000 000 000 000 000 000 000 000 006 462 286 176 714 752 × 2 = 0 + 0.000 000 000 000 000 000 000 000 012 924 572 353 429 504;
  • 32) 0.000 000 000 000 000 000 000 000 012 924 572 353 429 504 × 2 = 0 + 0.000 000 000 000 000 000 000 000 025 849 144 706 859 008;
  • 33) 0.000 000 000 000 000 000 000 000 025 849 144 706 859 008 × 2 = 0 + 0.000 000 000 000 000 000 000 000 051 698 289 413 718 016;
  • 34) 0.000 000 000 000 000 000 000 000 051 698 289 413 718 016 × 2 = 0 + 0.000 000 000 000 000 000 000 000 103 396 578 827 436 032;
  • 35) 0.000 000 000 000 000 000 000 000 103 396 578 827 436 032 × 2 = 0 + 0.000 000 000 000 000 000 000 000 206 793 157 654 872 064;
  • 36) 0.000 000 000 000 000 000 000 000 206 793 157 654 872 064 × 2 = 0 + 0.000 000 000 000 000 000 000 000 413 586 315 309 744 128;
  • 37) 0.000 000 000 000 000 000 000 000 413 586 315 309 744 128 × 2 = 0 + 0.000 000 000 000 000 000 000 000 827 172 630 619 488 256;
  • 38) 0.000 000 000 000 000 000 000 000 827 172 630 619 488 256 × 2 = 0 + 0.000 000 000 000 000 000 000 001 654 345 261 238 976 512;
  • 39) 0.000 000 000 000 000 000 000 001 654 345 261 238 976 512 × 2 = 0 + 0.000 000 000 000 000 000 000 003 308 690 522 477 953 024;
  • 40) 0.000 000 000 000 000 000 000 003 308 690 522 477 953 024 × 2 = 0 + 0.000 000 000 000 000 000 000 006 617 381 044 955 906 048;
  • 41) 0.000 000 000 000 000 000 000 006 617 381 044 955 906 048 × 2 = 0 + 0.000 000 000 000 000 000 000 013 234 762 089 911 812 096;
  • 42) 0.000 000 000 000 000 000 000 013 234 762 089 911 812 096 × 2 = 0 + 0.000 000 000 000 000 000 000 026 469 524 179 823 624 192;
  • 43) 0.000 000 000 000 000 000 000 026 469 524 179 823 624 192 × 2 = 0 + 0.000 000 000 000 000 000 000 052 939 048 359 647 248 384;
  • 44) 0.000 000 000 000 000 000 000 052 939 048 359 647 248 384 × 2 = 0 + 0.000 000 000 000 000 000 000 105 878 096 719 294 496 768;
  • 45) 0.000 000 000 000 000 000 000 105 878 096 719 294 496 768 × 2 = 0 + 0.000 000 000 000 000 000 000 211 756 193 438 588 993 536;
  • 46) 0.000 000 000 000 000 000 000 211 756 193 438 588 993 536 × 2 = 0 + 0.000 000 000 000 000 000 000 423 512 386 877 177 987 072;
  • 47) 0.000 000 000 000 000 000 000 423 512 386 877 177 987 072 × 2 = 0 + 0.000 000 000 000 000 000 000 847 024 773 754 355 974 144;
  • 48) 0.000 000 000 000 000 000 000 847 024 773 754 355 974 144 × 2 = 0 + 0.000 000 000 000 000 000 001 694 049 547 508 711 948 288;
  • 49) 0.000 000 000 000 000 000 001 694 049 547 508 711 948 288 × 2 = 0 + 0.000 000 000 000 000 000 003 388 099 095 017 423 896 576;
  • 50) 0.000 000 000 000 000 000 003 388 099 095 017 423 896 576 × 2 = 0 + 0.000 000 000 000 000 000 006 776 198 190 034 847 793 152;
  • 51) 0.000 000 000 000 000 000 006 776 198 190 034 847 793 152 × 2 = 0 + 0.000 000 000 000 000 000 013 552 396 380 069 695 586 304;
  • 52) 0.000 000 000 000 000 000 013 552 396 380 069 695 586 304 × 2 = 0 + 0.000 000 000 000 000 000 027 104 792 760 139 391 172 608;
  • 53) 0.000 000 000 000 000 000 027 104 792 760 139 391 172 608 × 2 = 0 + 0.000 000 000 000 000 000 054 209 585 520 278 782 345 216;
  • 54) 0.000 000 000 000 000 000 054 209 585 520 278 782 345 216 × 2 = 0 + 0.000 000 000 000 000 000 108 419 171 040 557 564 690 432;
  • 55) 0.000 000 000 000 000 000 108 419 171 040 557 564 690 432 × 2 = 0 + 0.000 000 000 000 000 000 216 838 342 081 115 129 380 864;
  • 56) 0.000 000 000 000 000 000 216 838 342 081 115 129 380 864 × 2 = 0 + 0.000 000 000 000 000 000 433 676 684 162 230 258 761 728;
  • 57) 0.000 000 000 000 000 000 433 676 684 162 230 258 761 728 × 2 = 0 + 0.000 000 000 000 000 000 867 353 368 324 460 517 523 456;
  • 58) 0.000 000 000 000 000 000 867 353 368 324 460 517 523 456 × 2 = 0 + 0.000 000 000 000 000 001 734 706 736 648 921 035 046 912;
  • 59) 0.000 000 000 000 000 001 734 706 736 648 921 035 046 912 × 2 = 0 + 0.000 000 000 000 000 003 469 413 473 297 842 070 093 824;
  • 60) 0.000 000 000 000 000 003 469 413 473 297 842 070 093 824 × 2 = 0 + 0.000 000 000 000 000 006 938 826 946 595 684 140 187 648;
  • 61) 0.000 000 000 000 000 006 938 826 946 595 684 140 187 648 × 2 = 0 + 0.000 000 000 000 000 013 877 653 893 191 368 280 375 296;
  • 62) 0.000 000 000 000 000 013 877 653 893 191 368 280 375 296 × 2 = 0 + 0.000 000 000 000 000 027 755 307 786 382 736 560 750 592;
  • 63) 0.000 000 000 000 000 027 755 307 786 382 736 560 750 592 × 2 = 0 + 0.000 000 000 000 000 055 510 615 572 765 473 121 501 184;
  • 64) 0.000 000 000 000 000 055 510 615 572 765 473 121 501 184 × 2 = 0 + 0.000 000 000 000 000 111 021 231 145 530 946 243 002 368;
  • 65) 0.000 000 000 000 000 111 021 231 145 530 946 243 002 368 × 2 = 0 + 0.000 000 000 000 000 222 042 462 291 061 892 486 004 736;
  • 66) 0.000 000 000 000 000 222 042 462 291 061 892 486 004 736 × 2 = 0 + 0.000 000 000 000 000 444 084 924 582 123 784 972 009 472;
  • 67) 0.000 000 000 000 000 444 084 924 582 123 784 972 009 472 × 2 = 0 + 0.000 000 000 000 000 888 169 849 164 247 569 944 018 944;
  • 68) 0.000 000 000 000 000 888 169 849 164 247 569 944 018 944 × 2 = 0 + 0.000 000 000 000 001 776 339 698 328 495 139 888 037 888;
  • 69) 0.000 000 000 000 001 776 339 698 328 495 139 888 037 888 × 2 = 0 + 0.000 000 000 000 003 552 679 396 656 990 279 776 075 776;
  • 70) 0.000 000 000 000 003 552 679 396 656 990 279 776 075 776 × 2 = 0 + 0.000 000 000 000 007 105 358 793 313 980 559 552 151 552;
  • 71) 0.000 000 000 000 007 105 358 793 313 980 559 552 151 552 × 2 = 0 + 0.000 000 000 000 014 210 717 586 627 961 119 104 303 104;
  • 72) 0.000 000 000 000 014 210 717 586 627 961 119 104 303 104 × 2 = 0 + 0.000 000 000 000 028 421 435 173 255 922 238 208 606 208;
  • 73) 0.000 000 000 000 028 421 435 173 255 922 238 208 606 208 × 2 = 0 + 0.000 000 000 000 056 842 870 346 511 844 476 417 212 416;
  • 74) 0.000 000 000 000 056 842 870 346 511 844 476 417 212 416 × 2 = 0 + 0.000 000 000 000 113 685 740 693 023 688 952 834 424 832;
  • 75) 0.000 000 000 000 113 685 740 693 023 688 952 834 424 832 × 2 = 0 + 0.000 000 000 000 227 371 481 386 047 377 905 668 849 664;
  • 76) 0.000 000 000 000 227 371 481 386 047 377 905 668 849 664 × 2 = 0 + 0.000 000 000 000 454 742 962 772 094 755 811 337 699 328;
  • 77) 0.000 000 000 000 454 742 962 772 094 755 811 337 699 328 × 2 = 0 + 0.000 000 000 000 909 485 925 544 189 511 622 675 398 656;
  • 78) 0.000 000 000 000 909 485 925 544 189 511 622 675 398 656 × 2 = 0 + 0.000 000 000 001 818 971 851 088 379 023 245 350 797 312;
  • 79) 0.000 000 000 001 818 971 851 088 379 023 245 350 797 312 × 2 = 0 + 0.000 000 000 003 637 943 702 176 758 046 490 701 594 624;
  • 80) 0.000 000 000 003 637 943 702 176 758 046 490 701 594 624 × 2 = 0 + 0.000 000 000 007 275 887 404 353 516 092 981 403 189 248;
  • 81) 0.000 000 000 007 275 887 404 353 516 092 981 403 189 248 × 2 = 0 + 0.000 000 000 014 551 774 808 707 032 185 962 806 378 496;
  • 82) 0.000 000 000 014 551 774 808 707 032 185 962 806 378 496 × 2 = 0 + 0.000 000 000 029 103 549 617 414 064 371 925 612 756 992;
  • 83) 0.000 000 000 029 103 549 617 414 064 371 925 612 756 992 × 2 = 0 + 0.000 000 000 058 207 099 234 828 128 743 851 225 513 984;
  • 84) 0.000 000 000 058 207 099 234 828 128 743 851 225 513 984 × 2 = 0 + 0.000 000 000 116 414 198 469 656 257 487 702 451 027 968;
  • 85) 0.000 000 000 116 414 198 469 656 257 487 702 451 027 968 × 2 = 0 + 0.000 000 000 232 828 396 939 312 514 975 404 902 055 936;
  • 86) 0.000 000 000 232 828 396 939 312 514 975 404 902 055 936 × 2 = 0 + 0.000 000 000 465 656 793 878 625 029 950 809 804 111 872;
  • 87) 0.000 000 000 465 656 793 878 625 029 950 809 804 111 872 × 2 = 0 + 0.000 000 000 931 313 587 757 250 059 901 619 608 223 744;
  • 88) 0.000 000 000 931 313 587 757 250 059 901 619 608 223 744 × 2 = 0 + 0.000 000 001 862 627 175 514 500 119 803 239 216 447 488;
  • 89) 0.000 000 001 862 627 175 514 500 119 803 239 216 447 488 × 2 = 0 + 0.000 000 003 725 254 351 029 000 239 606 478 432 894 976;
  • 90) 0.000 000 003 725 254 351 029 000 239 606 478 432 894 976 × 2 = 0 + 0.000 000 007 450 508 702 058 000 479 212 956 865 789 952;
  • 91) 0.000 000 007 450 508 702 058 000 479 212 956 865 789 952 × 2 = 0 + 0.000 000 014 901 017 404 116 000 958 425 913 731 579 904;
  • 92) 0.000 000 014 901 017 404 116 000 958 425 913 731 579 904 × 2 = 0 + 0.000 000 029 802 034 808 232 001 916 851 827 463 159 808;
  • 93) 0.000 000 029 802 034 808 232 001 916 851 827 463 159 808 × 2 = 0 + 0.000 000 059 604 069 616 464 003 833 703 654 926 319 616;
  • 94) 0.000 000 059 604 069 616 464 003 833 703 654 926 319 616 × 2 = 0 + 0.000 000 119 208 139 232 928 007 667 407 309 852 639 232;
  • 95) 0.000 000 119 208 139 232 928 007 667 407 309 852 639 232 × 2 = 0 + 0.000 000 238 416 278 465 856 015 334 814 619 705 278 464;
  • 96) 0.000 000 238 416 278 465 856 015 334 814 619 705 278 464 × 2 = 0 + 0.000 000 476 832 556 931 712 030 669 629 239 410 556 928;
  • 97) 0.000 000 476 832 556 931 712 030 669 629 239 410 556 928 × 2 = 0 + 0.000 000 953 665 113 863 424 061 339 258 478 821 113 856;
  • 98) 0.000 000 953 665 113 863 424 061 339 258 478 821 113 856 × 2 = 0 + 0.000 001 907 330 227 726 848 122 678 516 957 642 227 712;
  • 99) 0.000 001 907 330 227 726 848 122 678 516 957 642 227 712 × 2 = 0 + 0.000 003 814 660 455 453 696 245 357 033 915 284 455 424;
  • 100) 0.000 003 814 660 455 453 696 245 357 033 915 284 455 424 × 2 = 0 + 0.000 007 629 320 910 907 392 490 714 067 830 568 910 848;
  • 101) 0.000 007 629 320 910 907 392 490 714 067 830 568 910 848 × 2 = 0 + 0.000 015 258 641 821 814 784 981 428 135 661 137 821 696;
  • 102) 0.000 015 258 641 821 814 784 981 428 135 661 137 821 696 × 2 = 0 + 0.000 030 517 283 643 629 569 962 856 271 322 275 643 392;
  • 103) 0.000 030 517 283 643 629 569 962 856 271 322 275 643 392 × 2 = 0 + 0.000 061 034 567 287 259 139 925 712 542 644 551 286 784;
  • 104) 0.000 061 034 567 287 259 139 925 712 542 644 551 286 784 × 2 = 0 + 0.000 122 069 134 574 518 279 851 425 085 289 102 573 568;
  • 105) 0.000 122 069 134 574 518 279 851 425 085 289 102 573 568 × 2 = 0 + 0.000 244 138 269 149 036 559 702 850 170 578 205 147 136;
  • 106) 0.000 244 138 269 149 036 559 702 850 170 578 205 147 136 × 2 = 0 + 0.000 488 276 538 298 073 119 405 700 341 156 410 294 272;
  • 107) 0.000 488 276 538 298 073 119 405 700 341 156 410 294 272 × 2 = 0 + 0.000 976 553 076 596 146 238 811 400 682 312 820 588 544;
  • 108) 0.000 976 553 076 596 146 238 811 400 682 312 820 588 544 × 2 = 0 + 0.001 953 106 153 192 292 477 622 801 364 625 641 177 088;
  • 109) 0.001 953 106 153 192 292 477 622 801 364 625 641 177 088 × 2 = 0 + 0.003 906 212 306 384 584 955 245 602 729 251 282 354 176;
  • 110) 0.003 906 212 306 384 584 955 245 602 729 251 282 354 176 × 2 = 0 + 0.007 812 424 612 769 169 910 491 205 458 502 564 708 352;
  • 111) 0.007 812 424 612 769 169 910 491 205 458 502 564 708 352 × 2 = 0 + 0.015 624 849 225 538 339 820 982 410 917 005 129 416 704;
  • 112) 0.015 624 849 225 538 339 820 982 410 917 005 129 416 704 × 2 = 0 + 0.031 249 698 451 076 679 641 964 821 834 010 258 833 408;
  • 113) 0.031 249 698 451 076 679 641 964 821 834 010 258 833 408 × 2 = 0 + 0.062 499 396 902 153 359 283 929 643 668 020 517 666 816;
  • 114) 0.062 499 396 902 153 359 283 929 643 668 020 517 666 816 × 2 = 0 + 0.124 998 793 804 306 718 567 859 287 336 041 035 333 632;
  • 115) 0.124 998 793 804 306 718 567 859 287 336 041 035 333 632 × 2 = 0 + 0.249 997 587 608 613 437 135 718 574 672 082 070 667 264;
  • 116) 0.249 997 587 608 613 437 135 718 574 672 082 070 667 264 × 2 = 0 + 0.499 995 175 217 226 874 271 437 149 344 164 141 334 528;
  • 117) 0.499 995 175 217 226 874 271 437 149 344 164 141 334 528 × 2 = 0 + 0.999 990 350 434 453 748 542 874 298 688 328 282 669 056;
  • 118) 0.999 990 350 434 453 748 542 874 298 688 328 282 669 056 × 2 = 1 + 0.999 980 700 868 907 497 085 748 597 376 656 565 338 112;
  • 119) 0.999 980 700 868 907 497 085 748 597 376 656 565 338 112 × 2 = 1 + 0.999 961 401 737 814 994 171 497 194 753 313 130 676 224;
  • 120) 0.999 961 401 737 814 994 171 497 194 753 313 130 676 224 × 2 = 1 + 0.999 922 803 475 629 988 342 994 389 506 626 261 352 448;
  • 121) 0.999 922 803 475 629 988 342 994 389 506 626 261 352 448 × 2 = 1 + 0.999 845 606 951 259 976 685 988 779 013 252 522 704 896;
  • 122) 0.999 845 606 951 259 976 685 988 779 013 252 522 704 896 × 2 = 1 + 0.999 691 213 902 519 953 371 977 558 026 505 045 409 792;
  • 123) 0.999 691 213 902 519 953 371 977 558 026 505 045 409 792 × 2 = 1 + 0.999 382 427 805 039 906 743 955 116 053 010 090 819 584;
  • 124) 0.999 382 427 805 039 906 743 955 116 053 010 090 819 584 × 2 = 1 + 0.998 764 855 610 079 813 487 910 232 106 020 181 639 168;
  • 125) 0.998 764 855 610 079 813 487 910 232 106 020 181 639 168 × 2 = 1 + 0.997 529 711 220 159 626 975 820 464 212 040 363 278 336;
  • 126) 0.997 529 711 220 159 626 975 820 464 212 040 363 278 336 × 2 = 1 + 0.995 059 422 440 319 253 951 640 928 424 080 726 556 672;
  • 127) 0.995 059 422 440 319 253 951 640 928 424 080 726 556 672 × 2 = 1 + 0.990 118 844 880 638 507 903 281 856 848 161 453 113 344;
  • 128) 0.990 118 844 880 638 507 903 281 856 848 161 453 113 344 × 2 = 1 + 0.980 237 689 761 277 015 806 563 713 696 322 906 226 688;
  • 129) 0.980 237 689 761 277 015 806 563 713 696 322 906 226 688 × 2 = 1 + 0.960 475 379 522 554 031 613 127 427 392 645 812 453 376;
  • 130) 0.960 475 379 522 554 031 613 127 427 392 645 812 453 376 × 2 = 1 + 0.920 950 759 045 108 063 226 254 854 785 291 624 906 752;
  • 131) 0.920 950 759 045 108 063 226 254 854 785 291 624 906 752 × 2 = 1 + 0.841 901 518 090 216 126 452 509 709 570 583 249 813 504;
  • 132) 0.841 901 518 090 216 126 452 509 709 570 583 249 813 504 × 2 = 1 + 0.683 803 036 180 432 252 905 019 419 141 166 499 627 008;
  • 133) 0.683 803 036 180 432 252 905 019 419 141 166 499 627 008 × 2 = 1 + 0.367 606 072 360 864 505 810 038 838 282 332 999 254 016;
  • 134) 0.367 606 072 360 864 505 810 038 838 282 332 999 254 016 × 2 = 0 + 0.735 212 144 721 729 011 620 077 676 564 665 998 508 032;
  • 135) 0.735 212 144 721 729 011 620 077 676 564 665 998 508 032 × 2 = 1 + 0.470 424 289 443 458 023 240 155 353 129 331 997 016 064;
  • 136) 0.470 424 289 443 458 023 240 155 353 129 331 997 016 064 × 2 = 0 + 0.940 848 578 886 916 046 480 310 706 258 663 994 032 128;
  • 137) 0.940 848 578 886 916 046 480 310 706 258 663 994 032 128 × 2 = 1 + 0.881 697 157 773 832 092 960 621 412 517 327 988 064 256;
  • 138) 0.881 697 157 773 832 092 960 621 412 517 327 988 064 256 × 2 = 1 + 0.763 394 315 547 664 185 921 242 825 034 655 976 128 512;
  • 139) 0.763 394 315 547 664 185 921 242 825 034 655 976 128 512 × 2 = 1 + 0.526 788 631 095 328 371 842 485 650 069 311 952 257 024;
  • 140) 0.526 788 631 095 328 371 842 485 650 069 311 952 257 024 × 2 = 1 + 0.053 577 262 190 656 743 684 971 300 138 623 904 514 048;
  • 141) 0.053 577 262 190 656 743 684 971 300 138 623 904 514 048 × 2 = 0 + 0.107 154 524 381 313 487 369 942 600 277 247 809 028 096;

We didn't get any fractional part that was equal to zero. But we had enough iterations (over Mantissa limit) and at least one integer that was different from zero => FULL STOP (Losing precision - the converted number we get in the end will be just a very good approximation of the initial one).


4. Construct the base 2 representation of the fractional part of the number.

Take all the integer parts of the multiplying operations, starting from the top of the constructed list above:


0.000 000 000 000 000 000 000 000 000 000 000 006 018 473(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0111 1111 1111 1111 1010 1111 0(2)

5. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 006 018 473(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0111 1111 1111 1111 1010 1111 0(2)

6. Normalize the binary representation of the number.

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


0.000 000 000 000 000 000 000 000 000 000 000 006 018 473(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0111 1111 1111 1111 1010 1111 0(2) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0111 1111 1111 1111 1010 1111 0(2) × 20 =


1.1111 1111 1111 1110 1011 110(2) × 2-118


7. Up to this moment, there are the following elements that would feed into the 32 bit single precision IEEE 754 binary floating point representation:

Sign 0 (a positive number)


Exponent (unadjusted): -118


Mantissa (not normalized):
1.1111 1111 1111 1110 1011 110


8. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


-118 + 2(8-1) - 1 =


(-118 + 127)(10) =


9(10)


9. Convert the adjusted exponent from the decimal (base 10) to 8 bit binary.

Use the same technique of repeatedly dividing by 2:


  • division = quotient + remainder;
  • 9 ÷ 2 = 4 + 1;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

10. Construct the base 2 representation of the adjusted exponent.

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


Exponent (adjusted) =


9(10) =


0000 1001(2)


11. 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 23 bits, only if necessary (not the case here).


Mantissa (normalized) =


1. 111 1111 1111 1111 0101 1110 =


111 1111 1111 1111 0101 1110


12. The three elements that make up the number's 32 bit single precision IEEE 754 binary floating point representation:

Sign (1 bit) =
0 (a positive number)


Exponent (8 bits) =
0000 1001


Mantissa (23 bits) =
111 1111 1111 1111 0101 1110


Decimal number 0.000 000 000 000 000 000 000 000 000 000 000 006 018 473 converted to 32 bit single precision IEEE 754 binary floating point representation:

0 - 0000 1001 - 111 1111 1111 1111 0101 1110


How to convert decimal numbers from base ten to 32 bit single precision IEEE 754 binary floating point standard

Follow the steps below to convert a base 10 decimal number to 32 bit single 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 base ten 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 of the previous dividing 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 previous multiplying operations, starting from the top of the constructed list 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, by shifting the decimal point (or if you prefer, the decimal mark) "n" positions either to the left or to the right, so that only one non zero digit remains to the left of the decimal point.
  • 7. Adjust the exponent in 8 bit excess/bias notation and then convert it from decimal (base 10) to 8 bit binary, by using the same technique of repeatedly dividing by 2, as shown above:
    Exponent (adjusted) = Exponent (unadjusted) + 2(8-1) - 1
  • 8. Normalize mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal sign if the case) and adjust its length to 23 bits, either by removing the excess bits from the right (losing precision...) or by adding extra '0' bits 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 -25.347 from decimal system (base ten) to 32 bit single precision IEEE 754 binary floating point:

  • 1. Start with the positive version of the number:

    |-25.347| = 25.347

  • 2. First convert the integer part, 25. Divide it repeatedly by 2, keeping track of each remainder, until we get a quotient that is equal to zero:
    • division = quotient + remainder;
    • 25 ÷ 2 = 12 + 1;
    • 12 ÷ 2 = 6 + 0;
    • 6 ÷ 2 = 3 + 0;
    • 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:

    25(10) = 1 1001(2)

  • 4. Then convert the fractional part, 0.347. 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.347 × 2 = 0 + 0.694;
    • 2) 0.694 × 2 = 1 + 0.388;
    • 3) 0.388 × 2 = 0 + 0.776;
    • 4) 0.776 × 2 = 1 + 0.552;
    • 5) 0.552 × 2 = 1 + 0.104;
    • 6) 0.104 × 2 = 0 + 0.208;
    • 7) 0.208 × 2 = 0 + 0.416;
    • 8) 0.416 × 2 = 0 + 0.832;
    • 9) 0.832 × 2 = 1 + 0.664;
    • 10) 0.664 × 2 = 1 + 0.328;
    • 11) 0.328 × 2 = 0 + 0.656;
    • 12) 0.656 × 2 = 1 + 0.312;
    • 13) 0.312 × 2 = 0 + 0.624;
    • 14) 0.624 × 2 = 1 + 0.248;
    • 15) 0.248 × 2 = 0 + 0.496;
    • 16) 0.496 × 2 = 0 + 0.992;
    • 17) 0.992 × 2 = 1 + 0.984;
    • 18) 0.984 × 2 = 1 + 0.968;
    • 19) 0.968 × 2 = 1 + 0.936;
    • 20) 0.936 × 2 = 1 + 0.872;
    • 21) 0.872 × 2 = 1 + 0.744;
    • 22) 0.744 × 2 = 1 + 0.488;
    • 23) 0.488 × 2 = 0 + 0.976;
    • 24) 0.976 × 2 = 1 + 0.952;
    • We didn't get any fractional part that was equal to zero. But we had enough iterations (over Mantissa limit = 23) 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.347(10) = 0.0101 1000 1101 0100 1111 1101(2)

  • 6. Summarizing - the positive number before normalization:

    25.347(10) = 1 1001.0101 1000 1101 0100 1111 1101(2)

  • 7. Normalize the binary representation of the number, shifting the decimal point 4 positions to the left so that only one non-zero digit stays to the left of the decimal point:

    25.347(10) =
    1 1001.0101 1000 1101 0100 1111 1101(2) =
    1 1001.0101 1000 1101 0100 1111 1101(2) × 20 =
    1.1001 0101 1000 1101 0100 1111 1101(2) × 24

  • 8. Up to this moment, there are the following elements that would feed into the 32 bit single precision IEEE 754 binary floating point:

    Sign: 1 (a negative number)

    Exponent (unadjusted): 4

    Mantissa (not-normalized): 1.1001 0101 1000 1101 0100 1111 1101

  • 9. Adjust the exponent in 8 bit excess/bias notation and then convert it from decimal (base 10) to 8 bit binary (base 2), by using the same technique of repeatedly dividing it by 2, as already demonstrated above:

    Exponent (adjusted) = Exponent (unadjusted) + 2(8-1) - 1 = (4 + 127)(10) = 131(10) =
    1000 0011(2)

  • 10. Normalize the mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal point) and adjust its length to 23 bits, by removing the excess bits from the right (losing precision...):

    Mantissa (not-normalized): 1.1001 0101 1000 1101 0100 1111 1101

    Mantissa (normalized): 100 1010 1100 0110 1010 0111

  • Conclusion:

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

    Exponent (8 bits) = 1000 0011

    Mantissa (23 bits) = 100 1010 1100 0110 1010 0111

  • Number -25.347, converted from the decimal system (base 10) to 32 bit single precision IEEE 754 binary floating point =
    1 - 1000 0011 - 100 1010 1100 0110 1010 0111