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

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 632 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 012 037 264;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 012 037 264 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 024 074 528;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 024 074 528 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 048 149 056;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 048 149 056 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 096 298 112;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 096 298 112 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 192 596 224;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 192 596 224 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 385 192 448;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 385 192 448 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 770 384 896;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 770 384 896 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 540 769 792;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 001 540 769 792 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 003 081 539 584;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 003 081 539 584 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 006 163 079 168;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 006 163 079 168 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 012 326 158 336;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 012 326 158 336 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 024 652 316 672;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 024 652 316 672 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 049 304 633 344;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 049 304 633 344 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 098 609 266 688;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 098 609 266 688 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 197 218 533 376;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 197 218 533 376 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 394 437 066 752;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 394 437 066 752 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 788 874 133 504;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 788 874 133 504 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 577 748 267 008;
  • 19) 0.000 000 000 000 000 000 000 000 000 001 577 748 267 008 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 003 155 496 534 016;
  • 20) 0.000 000 000 000 000 000 000 000 000 003 155 496 534 016 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 006 310 993 068 032;
  • 21) 0.000 000 000 000 000 000 000 000 000 006 310 993 068 032 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 012 621 986 136 064;
  • 22) 0.000 000 000 000 000 000 000 000 000 012 621 986 136 064 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 025 243 972 272 128;
  • 23) 0.000 000 000 000 000 000 000 000 000 025 243 972 272 128 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 050 487 944 544 256;
  • 24) 0.000 000 000 000 000 000 000 000 000 050 487 944 544 256 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 100 975 889 088 512;
  • 25) 0.000 000 000 000 000 000 000 000 000 100 975 889 088 512 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 201 951 778 177 024;
  • 26) 0.000 000 000 000 000 000 000 000 000 201 951 778 177 024 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 403 903 556 354 048;
  • 27) 0.000 000 000 000 000 000 000 000 000 403 903 556 354 048 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 807 807 112 708 096;
  • 28) 0.000 000 000 000 000 000 000 000 000 807 807 112 708 096 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 615 614 225 416 192;
  • 29) 0.000 000 000 000 000 000 000 000 001 615 614 225 416 192 × 2 = 0 + 0.000 000 000 000 000 000 000 000 003 231 228 450 832 384;
  • 30) 0.000 000 000 000 000 000 000 000 003 231 228 450 832 384 × 2 = 0 + 0.000 000 000 000 000 000 000 000 006 462 456 901 664 768;
  • 31) 0.000 000 000 000 000 000 000 000 006 462 456 901 664 768 × 2 = 0 + 0.000 000 000 000 000 000 000 000 012 924 913 803 329 536;
  • 32) 0.000 000 000 000 000 000 000 000 012 924 913 803 329 536 × 2 = 0 + 0.000 000 000 000 000 000 000 000 025 849 827 606 659 072;
  • 33) 0.000 000 000 000 000 000 000 000 025 849 827 606 659 072 × 2 = 0 + 0.000 000 000 000 000 000 000 000 051 699 655 213 318 144;
  • 34) 0.000 000 000 000 000 000 000 000 051 699 655 213 318 144 × 2 = 0 + 0.000 000 000 000 000 000 000 000 103 399 310 426 636 288;
  • 35) 0.000 000 000 000 000 000 000 000 103 399 310 426 636 288 × 2 = 0 + 0.000 000 000 000 000 000 000 000 206 798 620 853 272 576;
  • 36) 0.000 000 000 000 000 000 000 000 206 798 620 853 272 576 × 2 = 0 + 0.000 000 000 000 000 000 000 000 413 597 241 706 545 152;
  • 37) 0.000 000 000 000 000 000 000 000 413 597 241 706 545 152 × 2 = 0 + 0.000 000 000 000 000 000 000 000 827 194 483 413 090 304;
  • 38) 0.000 000 000 000 000 000 000 000 827 194 483 413 090 304 × 2 = 0 + 0.000 000 000 000 000 000 000 001 654 388 966 826 180 608;
  • 39) 0.000 000 000 000 000 000 000 001 654 388 966 826 180 608 × 2 = 0 + 0.000 000 000 000 000 000 000 003 308 777 933 652 361 216;
  • 40) 0.000 000 000 000 000 000 000 003 308 777 933 652 361 216 × 2 = 0 + 0.000 000 000 000 000 000 000 006 617 555 867 304 722 432;
  • 41) 0.000 000 000 000 000 000 000 006 617 555 867 304 722 432 × 2 = 0 + 0.000 000 000 000 000 000 000 013 235 111 734 609 444 864;
  • 42) 0.000 000 000 000 000 000 000 013 235 111 734 609 444 864 × 2 = 0 + 0.000 000 000 000 000 000 000 026 470 223 469 218 889 728;
  • 43) 0.000 000 000 000 000 000 000 026 470 223 469 218 889 728 × 2 = 0 + 0.000 000 000 000 000 000 000 052 940 446 938 437 779 456;
  • 44) 0.000 000 000 000 000 000 000 052 940 446 938 437 779 456 × 2 = 0 + 0.000 000 000 000 000 000 000 105 880 893 876 875 558 912;
  • 45) 0.000 000 000 000 000 000 000 105 880 893 876 875 558 912 × 2 = 0 + 0.000 000 000 000 000 000 000 211 761 787 753 751 117 824;
  • 46) 0.000 000 000 000 000 000 000 211 761 787 753 751 117 824 × 2 = 0 + 0.000 000 000 000 000 000 000 423 523 575 507 502 235 648;
  • 47) 0.000 000 000 000 000 000 000 423 523 575 507 502 235 648 × 2 = 0 + 0.000 000 000 000 000 000 000 847 047 151 015 004 471 296;
  • 48) 0.000 000 000 000 000 000 000 847 047 151 015 004 471 296 × 2 = 0 + 0.000 000 000 000 000 000 001 694 094 302 030 008 942 592;
  • 49) 0.000 000 000 000 000 000 001 694 094 302 030 008 942 592 × 2 = 0 + 0.000 000 000 000 000 000 003 388 188 604 060 017 885 184;
  • 50) 0.000 000 000 000 000 000 003 388 188 604 060 017 885 184 × 2 = 0 + 0.000 000 000 000 000 000 006 776 377 208 120 035 770 368;
  • 51) 0.000 000 000 000 000 000 006 776 377 208 120 035 770 368 × 2 = 0 + 0.000 000 000 000 000 000 013 552 754 416 240 071 540 736;
  • 52) 0.000 000 000 000 000 000 013 552 754 416 240 071 540 736 × 2 = 0 + 0.000 000 000 000 000 000 027 105 508 832 480 143 081 472;
  • 53) 0.000 000 000 000 000 000 027 105 508 832 480 143 081 472 × 2 = 0 + 0.000 000 000 000 000 000 054 211 017 664 960 286 162 944;
  • 54) 0.000 000 000 000 000 000 054 211 017 664 960 286 162 944 × 2 = 0 + 0.000 000 000 000 000 000 108 422 035 329 920 572 325 888;
  • 55) 0.000 000 000 000 000 000 108 422 035 329 920 572 325 888 × 2 = 0 + 0.000 000 000 000 000 000 216 844 070 659 841 144 651 776;
  • 56) 0.000 000 000 000 000 000 216 844 070 659 841 144 651 776 × 2 = 0 + 0.000 000 000 000 000 000 433 688 141 319 682 289 303 552;
  • 57) 0.000 000 000 000 000 000 433 688 141 319 682 289 303 552 × 2 = 0 + 0.000 000 000 000 000 000 867 376 282 639 364 578 607 104;
  • 58) 0.000 000 000 000 000 000 867 376 282 639 364 578 607 104 × 2 = 0 + 0.000 000 000 000 000 001 734 752 565 278 729 157 214 208;
  • 59) 0.000 000 000 000 000 001 734 752 565 278 729 157 214 208 × 2 = 0 + 0.000 000 000 000 000 003 469 505 130 557 458 314 428 416;
  • 60) 0.000 000 000 000 000 003 469 505 130 557 458 314 428 416 × 2 = 0 + 0.000 000 000 000 000 006 939 010 261 114 916 628 856 832;
  • 61) 0.000 000 000 000 000 006 939 010 261 114 916 628 856 832 × 2 = 0 + 0.000 000 000 000 000 013 878 020 522 229 833 257 713 664;
  • 62) 0.000 000 000 000 000 013 878 020 522 229 833 257 713 664 × 2 = 0 + 0.000 000 000 000 000 027 756 041 044 459 666 515 427 328;
  • 63) 0.000 000 000 000 000 027 756 041 044 459 666 515 427 328 × 2 = 0 + 0.000 000 000 000 000 055 512 082 088 919 333 030 854 656;
  • 64) 0.000 000 000 000 000 055 512 082 088 919 333 030 854 656 × 2 = 0 + 0.000 000 000 000 000 111 024 164 177 838 666 061 709 312;
  • 65) 0.000 000 000 000 000 111 024 164 177 838 666 061 709 312 × 2 = 0 + 0.000 000 000 000 000 222 048 328 355 677 332 123 418 624;
  • 66) 0.000 000 000 000 000 222 048 328 355 677 332 123 418 624 × 2 = 0 + 0.000 000 000 000 000 444 096 656 711 354 664 246 837 248;
  • 67) 0.000 000 000 000 000 444 096 656 711 354 664 246 837 248 × 2 = 0 + 0.000 000 000 000 000 888 193 313 422 709 328 493 674 496;
  • 68) 0.000 000 000 000 000 888 193 313 422 709 328 493 674 496 × 2 = 0 + 0.000 000 000 000 001 776 386 626 845 418 656 987 348 992;
  • 69) 0.000 000 000 000 001 776 386 626 845 418 656 987 348 992 × 2 = 0 + 0.000 000 000 000 003 552 773 253 690 837 313 974 697 984;
  • 70) 0.000 000 000 000 003 552 773 253 690 837 313 974 697 984 × 2 = 0 + 0.000 000 000 000 007 105 546 507 381 674 627 949 395 968;
  • 71) 0.000 000 000 000 007 105 546 507 381 674 627 949 395 968 × 2 = 0 + 0.000 000 000 000 014 211 093 014 763 349 255 898 791 936;
  • 72) 0.000 000 000 000 014 211 093 014 763 349 255 898 791 936 × 2 = 0 + 0.000 000 000 000 028 422 186 029 526 698 511 797 583 872;
  • 73) 0.000 000 000 000 028 422 186 029 526 698 511 797 583 872 × 2 = 0 + 0.000 000 000 000 056 844 372 059 053 397 023 595 167 744;
  • 74) 0.000 000 000 000 056 844 372 059 053 397 023 595 167 744 × 2 = 0 + 0.000 000 000 000 113 688 744 118 106 794 047 190 335 488;
  • 75) 0.000 000 000 000 113 688 744 118 106 794 047 190 335 488 × 2 = 0 + 0.000 000 000 000 227 377 488 236 213 588 094 380 670 976;
  • 76) 0.000 000 000 000 227 377 488 236 213 588 094 380 670 976 × 2 = 0 + 0.000 000 000 000 454 754 976 472 427 176 188 761 341 952;
  • 77) 0.000 000 000 000 454 754 976 472 427 176 188 761 341 952 × 2 = 0 + 0.000 000 000 000 909 509 952 944 854 352 377 522 683 904;
  • 78) 0.000 000 000 000 909 509 952 944 854 352 377 522 683 904 × 2 = 0 + 0.000 000 000 001 819 019 905 889 708 704 755 045 367 808;
  • 79) 0.000 000 000 001 819 019 905 889 708 704 755 045 367 808 × 2 = 0 + 0.000 000 000 003 638 039 811 779 417 409 510 090 735 616;
  • 80) 0.000 000 000 003 638 039 811 779 417 409 510 090 735 616 × 2 = 0 + 0.000 000 000 007 276 079 623 558 834 819 020 181 471 232;
  • 81) 0.000 000 000 007 276 079 623 558 834 819 020 181 471 232 × 2 = 0 + 0.000 000 000 014 552 159 247 117 669 638 040 362 942 464;
  • 82) 0.000 000 000 014 552 159 247 117 669 638 040 362 942 464 × 2 = 0 + 0.000 000 000 029 104 318 494 235 339 276 080 725 884 928;
  • 83) 0.000 000 000 029 104 318 494 235 339 276 080 725 884 928 × 2 = 0 + 0.000 000 000 058 208 636 988 470 678 552 161 451 769 856;
  • 84) 0.000 000 000 058 208 636 988 470 678 552 161 451 769 856 × 2 = 0 + 0.000 000 000 116 417 273 976 941 357 104 322 903 539 712;
  • 85) 0.000 000 000 116 417 273 976 941 357 104 322 903 539 712 × 2 = 0 + 0.000 000 000 232 834 547 953 882 714 208 645 807 079 424;
  • 86) 0.000 000 000 232 834 547 953 882 714 208 645 807 079 424 × 2 = 0 + 0.000 000 000 465 669 095 907 765 428 417 291 614 158 848;
  • 87) 0.000 000 000 465 669 095 907 765 428 417 291 614 158 848 × 2 = 0 + 0.000 000 000 931 338 191 815 530 856 834 583 228 317 696;
  • 88) 0.000 000 000 931 338 191 815 530 856 834 583 228 317 696 × 2 = 0 + 0.000 000 001 862 676 383 631 061 713 669 166 456 635 392;
  • 89) 0.000 000 001 862 676 383 631 061 713 669 166 456 635 392 × 2 = 0 + 0.000 000 003 725 352 767 262 123 427 338 332 913 270 784;
  • 90) 0.000 000 003 725 352 767 262 123 427 338 332 913 270 784 × 2 = 0 + 0.000 000 007 450 705 534 524 246 854 676 665 826 541 568;
  • 91) 0.000 000 007 450 705 534 524 246 854 676 665 826 541 568 × 2 = 0 + 0.000 000 014 901 411 069 048 493 709 353 331 653 083 136;
  • 92) 0.000 000 014 901 411 069 048 493 709 353 331 653 083 136 × 2 = 0 + 0.000 000 029 802 822 138 096 987 418 706 663 306 166 272;
  • 93) 0.000 000 029 802 822 138 096 987 418 706 663 306 166 272 × 2 = 0 + 0.000 000 059 605 644 276 193 974 837 413 326 612 332 544;
  • 94) 0.000 000 059 605 644 276 193 974 837 413 326 612 332 544 × 2 = 0 + 0.000 000 119 211 288 552 387 949 674 826 653 224 665 088;
  • 95) 0.000 000 119 211 288 552 387 949 674 826 653 224 665 088 × 2 = 0 + 0.000 000 238 422 577 104 775 899 349 653 306 449 330 176;
  • 96) 0.000 000 238 422 577 104 775 899 349 653 306 449 330 176 × 2 = 0 + 0.000 000 476 845 154 209 551 798 699 306 612 898 660 352;
  • 97) 0.000 000 476 845 154 209 551 798 699 306 612 898 660 352 × 2 = 0 + 0.000 000 953 690 308 419 103 597 398 613 225 797 320 704;
  • 98) 0.000 000 953 690 308 419 103 597 398 613 225 797 320 704 × 2 = 0 + 0.000 001 907 380 616 838 207 194 797 226 451 594 641 408;
  • 99) 0.000 001 907 380 616 838 207 194 797 226 451 594 641 408 × 2 = 0 + 0.000 003 814 761 233 676 414 389 594 452 903 189 282 816;
  • 100) 0.000 003 814 761 233 676 414 389 594 452 903 189 282 816 × 2 = 0 + 0.000 007 629 522 467 352 828 779 188 905 806 378 565 632;
  • 101) 0.000 007 629 522 467 352 828 779 188 905 806 378 565 632 × 2 = 0 + 0.000 015 259 044 934 705 657 558 377 811 612 757 131 264;
  • 102) 0.000 015 259 044 934 705 657 558 377 811 612 757 131 264 × 2 = 0 + 0.000 030 518 089 869 411 315 116 755 623 225 514 262 528;
  • 103) 0.000 030 518 089 869 411 315 116 755 623 225 514 262 528 × 2 = 0 + 0.000 061 036 179 738 822 630 233 511 246 451 028 525 056;
  • 104) 0.000 061 036 179 738 822 630 233 511 246 451 028 525 056 × 2 = 0 + 0.000 122 072 359 477 645 260 467 022 492 902 057 050 112;
  • 105) 0.000 122 072 359 477 645 260 467 022 492 902 057 050 112 × 2 = 0 + 0.000 244 144 718 955 290 520 934 044 985 804 114 100 224;
  • 106) 0.000 244 144 718 955 290 520 934 044 985 804 114 100 224 × 2 = 0 + 0.000 488 289 437 910 581 041 868 089 971 608 228 200 448;
  • 107) 0.000 488 289 437 910 581 041 868 089 971 608 228 200 448 × 2 = 0 + 0.000 976 578 875 821 162 083 736 179 943 216 456 400 896;
  • 108) 0.000 976 578 875 821 162 083 736 179 943 216 456 400 896 × 2 = 0 + 0.001 953 157 751 642 324 167 472 359 886 432 912 801 792;
  • 109) 0.001 953 157 751 642 324 167 472 359 886 432 912 801 792 × 2 = 0 + 0.003 906 315 503 284 648 334 944 719 772 865 825 603 584;
  • 110) 0.003 906 315 503 284 648 334 944 719 772 865 825 603 584 × 2 = 0 + 0.007 812 631 006 569 296 669 889 439 545 731 651 207 168;
  • 111) 0.007 812 631 006 569 296 669 889 439 545 731 651 207 168 × 2 = 0 + 0.015 625 262 013 138 593 339 778 879 091 463 302 414 336;
  • 112) 0.015 625 262 013 138 593 339 778 879 091 463 302 414 336 × 2 = 0 + 0.031 250 524 026 277 186 679 557 758 182 926 604 828 672;
  • 113) 0.031 250 524 026 277 186 679 557 758 182 926 604 828 672 × 2 = 0 + 0.062 501 048 052 554 373 359 115 516 365 853 209 657 344;
  • 114) 0.062 501 048 052 554 373 359 115 516 365 853 209 657 344 × 2 = 0 + 0.125 002 096 105 108 746 718 231 032 731 706 419 314 688;
  • 115) 0.125 002 096 105 108 746 718 231 032 731 706 419 314 688 × 2 = 0 + 0.250 004 192 210 217 493 436 462 065 463 412 838 629 376;
  • 116) 0.250 004 192 210 217 493 436 462 065 463 412 838 629 376 × 2 = 0 + 0.500 008 384 420 434 986 872 924 130 926 825 677 258 752;
  • 117) 0.500 008 384 420 434 986 872 924 130 926 825 677 258 752 × 2 = 1 + 0.000 016 768 840 869 973 745 848 261 853 651 354 517 504;
  • 118) 0.000 016 768 840 869 973 745 848 261 853 651 354 517 504 × 2 = 0 + 0.000 033 537 681 739 947 491 696 523 707 302 709 035 008;
  • 119) 0.000 033 537 681 739 947 491 696 523 707 302 709 035 008 × 2 = 0 + 0.000 067 075 363 479 894 983 393 047 414 605 418 070 016;
  • 120) 0.000 067 075 363 479 894 983 393 047 414 605 418 070 016 × 2 = 0 + 0.000 134 150 726 959 789 966 786 094 829 210 836 140 032;
  • 121) 0.000 134 150 726 959 789 966 786 094 829 210 836 140 032 × 2 = 0 + 0.000 268 301 453 919 579 933 572 189 658 421 672 280 064;
  • 122) 0.000 268 301 453 919 579 933 572 189 658 421 672 280 064 × 2 = 0 + 0.000 536 602 907 839 159 867 144 379 316 843 344 560 128;
  • 123) 0.000 536 602 907 839 159 867 144 379 316 843 344 560 128 × 2 = 0 + 0.001 073 205 815 678 319 734 288 758 633 686 689 120 256;
  • 124) 0.001 073 205 815 678 319 734 288 758 633 686 689 120 256 × 2 = 0 + 0.002 146 411 631 356 639 468 577 517 267 373 378 240 512;
  • 125) 0.002 146 411 631 356 639 468 577 517 267 373 378 240 512 × 2 = 0 + 0.004 292 823 262 713 278 937 155 034 534 746 756 481 024;
  • 126) 0.004 292 823 262 713 278 937 155 034 534 746 756 481 024 × 2 = 0 + 0.008 585 646 525 426 557 874 310 069 069 493 512 962 048;
  • 127) 0.008 585 646 525 426 557 874 310 069 069 493 512 962 048 × 2 = 0 + 0.017 171 293 050 853 115 748 620 138 138 987 025 924 096;
  • 128) 0.017 171 293 050 853 115 748 620 138 138 987 025 924 096 × 2 = 0 + 0.034 342 586 101 706 231 497 240 276 277 974 051 848 192;
  • 129) 0.034 342 586 101 706 231 497 240 276 277 974 051 848 192 × 2 = 0 + 0.068 685 172 203 412 462 994 480 552 555 948 103 696 384;
  • 130) 0.068 685 172 203 412 462 994 480 552 555 948 103 696 384 × 2 = 0 + 0.137 370 344 406 824 925 988 961 105 111 896 207 392 768;
  • 131) 0.137 370 344 406 824 925 988 961 105 111 896 207 392 768 × 2 = 0 + 0.274 740 688 813 649 851 977 922 210 223 792 414 785 536;
  • 132) 0.274 740 688 813 649 851 977 922 210 223 792 414 785 536 × 2 = 0 + 0.549 481 377 627 299 703 955 844 420 447 584 829 571 072;
  • 133) 0.549 481 377 627 299 703 955 844 420 447 584 829 571 072 × 2 = 1 + 0.098 962 755 254 599 407 911 688 840 895 169 659 142 144;
  • 134) 0.098 962 755 254 599 407 911 688 840 895 169 659 142 144 × 2 = 0 + 0.197 925 510 509 198 815 823 377 681 790 339 318 284 288;
  • 135) 0.197 925 510 509 198 815 823 377 681 790 339 318 284 288 × 2 = 0 + 0.395 851 021 018 397 631 646 755 363 580 678 636 568 576;
  • 136) 0.395 851 021 018 397 631 646 755 363 580 678 636 568 576 × 2 = 0 + 0.791 702 042 036 795 263 293 510 727 161 357 273 137 152;
  • 137) 0.791 702 042 036 795 263 293 510 727 161 357 273 137 152 × 2 = 1 + 0.583 404 084 073 590 526 587 021 454 322 714 546 274 304;
  • 138) 0.583 404 084 073 590 526 587 021 454 322 714 546 274 304 × 2 = 1 + 0.166 808 168 147 181 053 174 042 908 645 429 092 548 608;
  • 139) 0.166 808 168 147 181 053 174 042 908 645 429 092 548 608 × 2 = 0 + 0.333 616 336 294 362 106 348 085 817 290 858 185 097 216;
  • 140) 0.333 616 336 294 362 106 348 085 817 290 858 185 097 216 × 2 = 0 + 0.667 232 672 588 724 212 696 171 634 581 716 370 194 432;

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 632(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 1000 0000 0000 0000 1000 1100(2)

5. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 006 018 632(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 1000 0000 0000 0000 1000 1100(2)

6. Normalize the binary representation of the number.

Shift the decimal mark 117 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 632(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 1000 0000 0000 0000 1000 1100(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 1000 0000 0000 0000 1000 1100(2) × 20 =


1.0000 0000 0000 0001 0001 100(2) × 2-117


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


Mantissa (not normalized):
1.0000 0000 0000 0001 0001 100


8. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


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


(-117 + 127)(10) =


10(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;
  • 10 ÷ 2 = 5 + 0;
  • 5 ÷ 2 = 2 + 1;
  • 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) =


10(10) =


0000 1010(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. 000 0000 0000 0000 1000 1100 =


000 0000 0000 0000 1000 1100


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 1010


Mantissa (23 bits) =
000 0000 0000 0000 1000 1100


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

0 - 0000 1010 - 000 0000 0000 0000 1000 1100


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