0.000 000 000 000 000 000 000 000 000 000 000 006 018 407 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 407(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 407(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 407.

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 407 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 012 036 814;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 012 036 814 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 024 073 628;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 024 073 628 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 048 147 256;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 048 147 256 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 096 294 512;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 096 294 512 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 192 589 024;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 192 589 024 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 385 178 048;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 385 178 048 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 770 356 096;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 770 356 096 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 540 712 192;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 001 540 712 192 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 003 081 424 384;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 003 081 424 384 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 006 162 848 768;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 006 162 848 768 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 012 325 697 536;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 012 325 697 536 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 024 651 395 072;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 024 651 395 072 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 049 302 790 144;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 049 302 790 144 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 098 605 580 288;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 098 605 580 288 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 197 211 160 576;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 197 211 160 576 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 394 422 321 152;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 394 422 321 152 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 788 844 642 304;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 788 844 642 304 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 577 689 284 608;
  • 19) 0.000 000 000 000 000 000 000 000 000 001 577 689 284 608 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 003 155 378 569 216;
  • 20) 0.000 000 000 000 000 000 000 000 000 003 155 378 569 216 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 006 310 757 138 432;
  • 21) 0.000 000 000 000 000 000 000 000 000 006 310 757 138 432 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 012 621 514 276 864;
  • 22) 0.000 000 000 000 000 000 000 000 000 012 621 514 276 864 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 025 243 028 553 728;
  • 23) 0.000 000 000 000 000 000 000 000 000 025 243 028 553 728 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 050 486 057 107 456;
  • 24) 0.000 000 000 000 000 000 000 000 000 050 486 057 107 456 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 100 972 114 214 912;
  • 25) 0.000 000 000 000 000 000 000 000 000 100 972 114 214 912 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 201 944 228 429 824;
  • 26) 0.000 000 000 000 000 000 000 000 000 201 944 228 429 824 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 403 888 456 859 648;
  • 27) 0.000 000 000 000 000 000 000 000 000 403 888 456 859 648 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 807 776 913 719 296;
  • 28) 0.000 000 000 000 000 000 000 000 000 807 776 913 719 296 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 615 553 827 438 592;
  • 29) 0.000 000 000 000 000 000 000 000 001 615 553 827 438 592 × 2 = 0 + 0.000 000 000 000 000 000 000 000 003 231 107 654 877 184;
  • 30) 0.000 000 000 000 000 000 000 000 003 231 107 654 877 184 × 2 = 0 + 0.000 000 000 000 000 000 000 000 006 462 215 309 754 368;
  • 31) 0.000 000 000 000 000 000 000 000 006 462 215 309 754 368 × 2 = 0 + 0.000 000 000 000 000 000 000 000 012 924 430 619 508 736;
  • 32) 0.000 000 000 000 000 000 000 000 012 924 430 619 508 736 × 2 = 0 + 0.000 000 000 000 000 000 000 000 025 848 861 239 017 472;
  • 33) 0.000 000 000 000 000 000 000 000 025 848 861 239 017 472 × 2 = 0 + 0.000 000 000 000 000 000 000 000 051 697 722 478 034 944;
  • 34) 0.000 000 000 000 000 000 000 000 051 697 722 478 034 944 × 2 = 0 + 0.000 000 000 000 000 000 000 000 103 395 444 956 069 888;
  • 35) 0.000 000 000 000 000 000 000 000 103 395 444 956 069 888 × 2 = 0 + 0.000 000 000 000 000 000 000 000 206 790 889 912 139 776;
  • 36) 0.000 000 000 000 000 000 000 000 206 790 889 912 139 776 × 2 = 0 + 0.000 000 000 000 000 000 000 000 413 581 779 824 279 552;
  • 37) 0.000 000 000 000 000 000 000 000 413 581 779 824 279 552 × 2 = 0 + 0.000 000 000 000 000 000 000 000 827 163 559 648 559 104;
  • 38) 0.000 000 000 000 000 000 000 000 827 163 559 648 559 104 × 2 = 0 + 0.000 000 000 000 000 000 000 001 654 327 119 297 118 208;
  • 39) 0.000 000 000 000 000 000 000 001 654 327 119 297 118 208 × 2 = 0 + 0.000 000 000 000 000 000 000 003 308 654 238 594 236 416;
  • 40) 0.000 000 000 000 000 000 000 003 308 654 238 594 236 416 × 2 = 0 + 0.000 000 000 000 000 000 000 006 617 308 477 188 472 832;
  • 41) 0.000 000 000 000 000 000 000 006 617 308 477 188 472 832 × 2 = 0 + 0.000 000 000 000 000 000 000 013 234 616 954 376 945 664;
  • 42) 0.000 000 000 000 000 000 000 013 234 616 954 376 945 664 × 2 = 0 + 0.000 000 000 000 000 000 000 026 469 233 908 753 891 328;
  • 43) 0.000 000 000 000 000 000 000 026 469 233 908 753 891 328 × 2 = 0 + 0.000 000 000 000 000 000 000 052 938 467 817 507 782 656;
  • 44) 0.000 000 000 000 000 000 000 052 938 467 817 507 782 656 × 2 = 0 + 0.000 000 000 000 000 000 000 105 876 935 635 015 565 312;
  • 45) 0.000 000 000 000 000 000 000 105 876 935 635 015 565 312 × 2 = 0 + 0.000 000 000 000 000 000 000 211 753 871 270 031 130 624;
  • 46) 0.000 000 000 000 000 000 000 211 753 871 270 031 130 624 × 2 = 0 + 0.000 000 000 000 000 000 000 423 507 742 540 062 261 248;
  • 47) 0.000 000 000 000 000 000 000 423 507 742 540 062 261 248 × 2 = 0 + 0.000 000 000 000 000 000 000 847 015 485 080 124 522 496;
  • 48) 0.000 000 000 000 000 000 000 847 015 485 080 124 522 496 × 2 = 0 + 0.000 000 000 000 000 000 001 694 030 970 160 249 044 992;
  • 49) 0.000 000 000 000 000 000 001 694 030 970 160 249 044 992 × 2 = 0 + 0.000 000 000 000 000 000 003 388 061 940 320 498 089 984;
  • 50) 0.000 000 000 000 000 000 003 388 061 940 320 498 089 984 × 2 = 0 + 0.000 000 000 000 000 000 006 776 123 880 640 996 179 968;
  • 51) 0.000 000 000 000 000 000 006 776 123 880 640 996 179 968 × 2 = 0 + 0.000 000 000 000 000 000 013 552 247 761 281 992 359 936;
  • 52) 0.000 000 000 000 000 000 013 552 247 761 281 992 359 936 × 2 = 0 + 0.000 000 000 000 000 000 027 104 495 522 563 984 719 872;
  • 53) 0.000 000 000 000 000 000 027 104 495 522 563 984 719 872 × 2 = 0 + 0.000 000 000 000 000 000 054 208 991 045 127 969 439 744;
  • 54) 0.000 000 000 000 000 000 054 208 991 045 127 969 439 744 × 2 = 0 + 0.000 000 000 000 000 000 108 417 982 090 255 938 879 488;
  • 55) 0.000 000 000 000 000 000 108 417 982 090 255 938 879 488 × 2 = 0 + 0.000 000 000 000 000 000 216 835 964 180 511 877 758 976;
  • 56) 0.000 000 000 000 000 000 216 835 964 180 511 877 758 976 × 2 = 0 + 0.000 000 000 000 000 000 433 671 928 361 023 755 517 952;
  • 57) 0.000 000 000 000 000 000 433 671 928 361 023 755 517 952 × 2 = 0 + 0.000 000 000 000 000 000 867 343 856 722 047 511 035 904;
  • 58) 0.000 000 000 000 000 000 867 343 856 722 047 511 035 904 × 2 = 0 + 0.000 000 000 000 000 001 734 687 713 444 095 022 071 808;
  • 59) 0.000 000 000 000 000 001 734 687 713 444 095 022 071 808 × 2 = 0 + 0.000 000 000 000 000 003 469 375 426 888 190 044 143 616;
  • 60) 0.000 000 000 000 000 003 469 375 426 888 190 044 143 616 × 2 = 0 + 0.000 000 000 000 000 006 938 750 853 776 380 088 287 232;
  • 61) 0.000 000 000 000 000 006 938 750 853 776 380 088 287 232 × 2 = 0 + 0.000 000 000 000 000 013 877 501 707 552 760 176 574 464;
  • 62) 0.000 000 000 000 000 013 877 501 707 552 760 176 574 464 × 2 = 0 + 0.000 000 000 000 000 027 755 003 415 105 520 353 148 928;
  • 63) 0.000 000 000 000 000 027 755 003 415 105 520 353 148 928 × 2 = 0 + 0.000 000 000 000 000 055 510 006 830 211 040 706 297 856;
  • 64) 0.000 000 000 000 000 055 510 006 830 211 040 706 297 856 × 2 = 0 + 0.000 000 000 000 000 111 020 013 660 422 081 412 595 712;
  • 65) 0.000 000 000 000 000 111 020 013 660 422 081 412 595 712 × 2 = 0 + 0.000 000 000 000 000 222 040 027 320 844 162 825 191 424;
  • 66) 0.000 000 000 000 000 222 040 027 320 844 162 825 191 424 × 2 = 0 + 0.000 000 000 000 000 444 080 054 641 688 325 650 382 848;
  • 67) 0.000 000 000 000 000 444 080 054 641 688 325 650 382 848 × 2 = 0 + 0.000 000 000 000 000 888 160 109 283 376 651 300 765 696;
  • 68) 0.000 000 000 000 000 888 160 109 283 376 651 300 765 696 × 2 = 0 + 0.000 000 000 000 001 776 320 218 566 753 302 601 531 392;
  • 69) 0.000 000 000 000 001 776 320 218 566 753 302 601 531 392 × 2 = 0 + 0.000 000 000 000 003 552 640 437 133 506 605 203 062 784;
  • 70) 0.000 000 000 000 003 552 640 437 133 506 605 203 062 784 × 2 = 0 + 0.000 000 000 000 007 105 280 874 267 013 210 406 125 568;
  • 71) 0.000 000 000 000 007 105 280 874 267 013 210 406 125 568 × 2 = 0 + 0.000 000 000 000 014 210 561 748 534 026 420 812 251 136;
  • 72) 0.000 000 000 000 014 210 561 748 534 026 420 812 251 136 × 2 = 0 + 0.000 000 000 000 028 421 123 497 068 052 841 624 502 272;
  • 73) 0.000 000 000 000 028 421 123 497 068 052 841 624 502 272 × 2 = 0 + 0.000 000 000 000 056 842 246 994 136 105 683 249 004 544;
  • 74) 0.000 000 000 000 056 842 246 994 136 105 683 249 004 544 × 2 = 0 + 0.000 000 000 000 113 684 493 988 272 211 366 498 009 088;
  • 75) 0.000 000 000 000 113 684 493 988 272 211 366 498 009 088 × 2 = 0 + 0.000 000 000 000 227 368 987 976 544 422 732 996 018 176;
  • 76) 0.000 000 000 000 227 368 987 976 544 422 732 996 018 176 × 2 = 0 + 0.000 000 000 000 454 737 975 953 088 845 465 992 036 352;
  • 77) 0.000 000 000 000 454 737 975 953 088 845 465 992 036 352 × 2 = 0 + 0.000 000 000 000 909 475 951 906 177 690 931 984 072 704;
  • 78) 0.000 000 000 000 909 475 951 906 177 690 931 984 072 704 × 2 = 0 + 0.000 000 000 001 818 951 903 812 355 381 863 968 145 408;
  • 79) 0.000 000 000 001 818 951 903 812 355 381 863 968 145 408 × 2 = 0 + 0.000 000 000 003 637 903 807 624 710 763 727 936 290 816;
  • 80) 0.000 000 000 003 637 903 807 624 710 763 727 936 290 816 × 2 = 0 + 0.000 000 000 007 275 807 615 249 421 527 455 872 581 632;
  • 81) 0.000 000 000 007 275 807 615 249 421 527 455 872 581 632 × 2 = 0 + 0.000 000 000 014 551 615 230 498 843 054 911 745 163 264;
  • 82) 0.000 000 000 014 551 615 230 498 843 054 911 745 163 264 × 2 = 0 + 0.000 000 000 029 103 230 460 997 686 109 823 490 326 528;
  • 83) 0.000 000 000 029 103 230 460 997 686 109 823 490 326 528 × 2 = 0 + 0.000 000 000 058 206 460 921 995 372 219 646 980 653 056;
  • 84) 0.000 000 000 058 206 460 921 995 372 219 646 980 653 056 × 2 = 0 + 0.000 000 000 116 412 921 843 990 744 439 293 961 306 112;
  • 85) 0.000 000 000 116 412 921 843 990 744 439 293 961 306 112 × 2 = 0 + 0.000 000 000 232 825 843 687 981 488 878 587 922 612 224;
  • 86) 0.000 000 000 232 825 843 687 981 488 878 587 922 612 224 × 2 = 0 + 0.000 000 000 465 651 687 375 962 977 757 175 845 224 448;
  • 87) 0.000 000 000 465 651 687 375 962 977 757 175 845 224 448 × 2 = 0 + 0.000 000 000 931 303 374 751 925 955 514 351 690 448 896;
  • 88) 0.000 000 000 931 303 374 751 925 955 514 351 690 448 896 × 2 = 0 + 0.000 000 001 862 606 749 503 851 911 028 703 380 897 792;
  • 89) 0.000 000 001 862 606 749 503 851 911 028 703 380 897 792 × 2 = 0 + 0.000 000 003 725 213 499 007 703 822 057 406 761 795 584;
  • 90) 0.000 000 003 725 213 499 007 703 822 057 406 761 795 584 × 2 = 0 + 0.000 000 007 450 426 998 015 407 644 114 813 523 591 168;
  • 91) 0.000 000 007 450 426 998 015 407 644 114 813 523 591 168 × 2 = 0 + 0.000 000 014 900 853 996 030 815 288 229 627 047 182 336;
  • 92) 0.000 000 014 900 853 996 030 815 288 229 627 047 182 336 × 2 = 0 + 0.000 000 029 801 707 992 061 630 576 459 254 094 364 672;
  • 93) 0.000 000 029 801 707 992 061 630 576 459 254 094 364 672 × 2 = 0 + 0.000 000 059 603 415 984 123 261 152 918 508 188 729 344;
  • 94) 0.000 000 059 603 415 984 123 261 152 918 508 188 729 344 × 2 = 0 + 0.000 000 119 206 831 968 246 522 305 837 016 377 458 688;
  • 95) 0.000 000 119 206 831 968 246 522 305 837 016 377 458 688 × 2 = 0 + 0.000 000 238 413 663 936 493 044 611 674 032 754 917 376;
  • 96) 0.000 000 238 413 663 936 493 044 611 674 032 754 917 376 × 2 = 0 + 0.000 000 476 827 327 872 986 089 223 348 065 509 834 752;
  • 97) 0.000 000 476 827 327 872 986 089 223 348 065 509 834 752 × 2 = 0 + 0.000 000 953 654 655 745 972 178 446 696 131 019 669 504;
  • 98) 0.000 000 953 654 655 745 972 178 446 696 131 019 669 504 × 2 = 0 + 0.000 001 907 309 311 491 944 356 893 392 262 039 339 008;
  • 99) 0.000 001 907 309 311 491 944 356 893 392 262 039 339 008 × 2 = 0 + 0.000 003 814 618 622 983 888 713 786 784 524 078 678 016;
  • 100) 0.000 003 814 618 622 983 888 713 786 784 524 078 678 016 × 2 = 0 + 0.000 007 629 237 245 967 777 427 573 569 048 157 356 032;
  • 101) 0.000 007 629 237 245 967 777 427 573 569 048 157 356 032 × 2 = 0 + 0.000 015 258 474 491 935 554 855 147 138 096 314 712 064;
  • 102) 0.000 015 258 474 491 935 554 855 147 138 096 314 712 064 × 2 = 0 + 0.000 030 516 948 983 871 109 710 294 276 192 629 424 128;
  • 103) 0.000 030 516 948 983 871 109 710 294 276 192 629 424 128 × 2 = 0 + 0.000 061 033 897 967 742 219 420 588 552 385 258 848 256;
  • 104) 0.000 061 033 897 967 742 219 420 588 552 385 258 848 256 × 2 = 0 + 0.000 122 067 795 935 484 438 841 177 104 770 517 696 512;
  • 105) 0.000 122 067 795 935 484 438 841 177 104 770 517 696 512 × 2 = 0 + 0.000 244 135 591 870 968 877 682 354 209 541 035 393 024;
  • 106) 0.000 244 135 591 870 968 877 682 354 209 541 035 393 024 × 2 = 0 + 0.000 488 271 183 741 937 755 364 708 419 082 070 786 048;
  • 107) 0.000 488 271 183 741 937 755 364 708 419 082 070 786 048 × 2 = 0 + 0.000 976 542 367 483 875 510 729 416 838 164 141 572 096;
  • 108) 0.000 976 542 367 483 875 510 729 416 838 164 141 572 096 × 2 = 0 + 0.001 953 084 734 967 751 021 458 833 676 328 283 144 192;
  • 109) 0.001 953 084 734 967 751 021 458 833 676 328 283 144 192 × 2 = 0 + 0.003 906 169 469 935 502 042 917 667 352 656 566 288 384;
  • 110) 0.003 906 169 469 935 502 042 917 667 352 656 566 288 384 × 2 = 0 + 0.007 812 338 939 871 004 085 835 334 705 313 132 576 768;
  • 111) 0.007 812 338 939 871 004 085 835 334 705 313 132 576 768 × 2 = 0 + 0.015 624 677 879 742 008 171 670 669 410 626 265 153 536;
  • 112) 0.015 624 677 879 742 008 171 670 669 410 626 265 153 536 × 2 = 0 + 0.031 249 355 759 484 016 343 341 338 821 252 530 307 072;
  • 113) 0.031 249 355 759 484 016 343 341 338 821 252 530 307 072 × 2 = 0 + 0.062 498 711 518 968 032 686 682 677 642 505 060 614 144;
  • 114) 0.062 498 711 518 968 032 686 682 677 642 505 060 614 144 × 2 = 0 + 0.124 997 423 037 936 065 373 365 355 285 010 121 228 288;
  • 115) 0.124 997 423 037 936 065 373 365 355 285 010 121 228 288 × 2 = 0 + 0.249 994 846 075 872 130 746 730 710 570 020 242 456 576;
  • 116) 0.249 994 846 075 872 130 746 730 710 570 020 242 456 576 × 2 = 0 + 0.499 989 692 151 744 261 493 461 421 140 040 484 913 152;
  • 117) 0.499 989 692 151 744 261 493 461 421 140 040 484 913 152 × 2 = 0 + 0.999 979 384 303 488 522 986 922 842 280 080 969 826 304;
  • 118) 0.999 979 384 303 488 522 986 922 842 280 080 969 826 304 × 2 = 1 + 0.999 958 768 606 977 045 973 845 684 560 161 939 652 608;
  • 119) 0.999 958 768 606 977 045 973 845 684 560 161 939 652 608 × 2 = 1 + 0.999 917 537 213 954 091 947 691 369 120 323 879 305 216;
  • 120) 0.999 917 537 213 954 091 947 691 369 120 323 879 305 216 × 2 = 1 + 0.999 835 074 427 908 183 895 382 738 240 647 758 610 432;
  • 121) 0.999 835 074 427 908 183 895 382 738 240 647 758 610 432 × 2 = 1 + 0.999 670 148 855 816 367 790 765 476 481 295 517 220 864;
  • 122) 0.999 670 148 855 816 367 790 765 476 481 295 517 220 864 × 2 = 1 + 0.999 340 297 711 632 735 581 530 952 962 591 034 441 728;
  • 123) 0.999 340 297 711 632 735 581 530 952 962 591 034 441 728 × 2 = 1 + 0.998 680 595 423 265 471 163 061 905 925 182 068 883 456;
  • 124) 0.998 680 595 423 265 471 163 061 905 925 182 068 883 456 × 2 = 1 + 0.997 361 190 846 530 942 326 123 811 850 364 137 766 912;
  • 125) 0.997 361 190 846 530 942 326 123 811 850 364 137 766 912 × 2 = 1 + 0.994 722 381 693 061 884 652 247 623 700 728 275 533 824;
  • 126) 0.994 722 381 693 061 884 652 247 623 700 728 275 533 824 × 2 = 1 + 0.989 444 763 386 123 769 304 495 247 401 456 551 067 648;
  • 127) 0.989 444 763 386 123 769 304 495 247 401 456 551 067 648 × 2 = 1 + 0.978 889 526 772 247 538 608 990 494 802 913 102 135 296;
  • 128) 0.978 889 526 772 247 538 608 990 494 802 913 102 135 296 × 2 = 1 + 0.957 779 053 544 495 077 217 980 989 605 826 204 270 592;
  • 129) 0.957 779 053 544 495 077 217 980 989 605 826 204 270 592 × 2 = 1 + 0.915 558 107 088 990 154 435 961 979 211 652 408 541 184;
  • 130) 0.915 558 107 088 990 154 435 961 979 211 652 408 541 184 × 2 = 1 + 0.831 116 214 177 980 308 871 923 958 423 304 817 082 368;
  • 131) 0.831 116 214 177 980 308 871 923 958 423 304 817 082 368 × 2 = 1 + 0.662 232 428 355 960 617 743 847 916 846 609 634 164 736;
  • 132) 0.662 232 428 355 960 617 743 847 916 846 609 634 164 736 × 2 = 1 + 0.324 464 856 711 921 235 487 695 833 693 219 268 329 472;
  • 133) 0.324 464 856 711 921 235 487 695 833 693 219 268 329 472 × 2 = 0 + 0.648 929 713 423 842 470 975 391 667 386 438 536 658 944;
  • 134) 0.648 929 713 423 842 470 975 391 667 386 438 536 658 944 × 2 = 1 + 0.297 859 426 847 684 941 950 783 334 772 877 073 317 888;
  • 135) 0.297 859 426 847 684 941 950 783 334 772 877 073 317 888 × 2 = 0 + 0.595 718 853 695 369 883 901 566 669 545 754 146 635 776;
  • 136) 0.595 718 853 695 369 883 901 566 669 545 754 146 635 776 × 2 = 1 + 0.191 437 707 390 739 767 803 133 339 091 508 293 271 552;
  • 137) 0.191 437 707 390 739 767 803 133 339 091 508 293 271 552 × 2 = 0 + 0.382 875 414 781 479 535 606 266 678 183 016 586 543 104;
  • 138) 0.382 875 414 781 479 535 606 266 678 183 016 586 543 104 × 2 = 0 + 0.765 750 829 562 959 071 212 533 356 366 033 173 086 208;
  • 139) 0.765 750 829 562 959 071 212 533 356 366 033 173 086 208 × 2 = 1 + 0.531 501 659 125 918 142 425 066 712 732 066 346 172 416;
  • 140) 0.531 501 659 125 918 142 425 066 712 732 066 346 172 416 × 2 = 1 + 0.063 003 318 251 836 284 850 133 425 464 132 692 344 832;
  • 141) 0.063 003 318 251 836 284 850 133 425 464 132 692 344 832 × 2 = 0 + 0.126 006 636 503 672 569 700 266 850 928 265 384 689 664;

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 407(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 0101 0011 0(2)

5. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 006 018 407(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 0101 0011 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 407(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 0101 0011 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 0101 0011 0(2) × 20 =


1.1111 1111 1111 1101 0100 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 1101 0100 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 1110 1010 0110 =


111 1111 1111 1110 1010 0110


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


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

0 - 0000 1001 - 111 1111 1111 1110 1010 0110


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