0.000 000 000 000 000 000 000 000 000 000 000 000 001 040 5 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 000 001 040 5(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 000 001 040 5(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 000 001 040 5.

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 000 001 040 5 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 002 081;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 000 002 081 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 004 162;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 000 004 162 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 008 324;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 000 008 324 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 016 648;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 000 016 648 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 033 296;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 000 033 296 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 066 592;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 000 066 592 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 133 184;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 000 133 184 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 266 368;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 000 000 266 368 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 532 736;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 000 000 532 736 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 001 065 472;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 000 001 065 472 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 002 130 944;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 000 002 130 944 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 004 261 888;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 000 004 261 888 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 008 523 776;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 000 008 523 776 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 017 047 552;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 000 017 047 552 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 034 095 104;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 000 034 095 104 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 068 190 208;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 000 068 190 208 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 136 380 416;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 000 136 380 416 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 272 760 832;
  • 19) 0.000 000 000 000 000 000 000 000 000 000 000 272 760 832 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 545 521 664;
  • 20) 0.000 000 000 000 000 000 000 000 000 000 000 545 521 664 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 091 043 328;
  • 21) 0.000 000 000 000 000 000 000 000 000 000 001 091 043 328 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 002 182 086 656;
  • 22) 0.000 000 000 000 000 000 000 000 000 000 002 182 086 656 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 004 364 173 312;
  • 23) 0.000 000 000 000 000 000 000 000 000 000 004 364 173 312 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 008 728 346 624;
  • 24) 0.000 000 000 000 000 000 000 000 000 000 008 728 346 624 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 017 456 693 248;
  • 25) 0.000 000 000 000 000 000 000 000 000 000 017 456 693 248 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 034 913 386 496;
  • 26) 0.000 000 000 000 000 000 000 000 000 000 034 913 386 496 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 069 826 772 992;
  • 27) 0.000 000 000 000 000 000 000 000 000 000 069 826 772 992 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 139 653 545 984;
  • 28) 0.000 000 000 000 000 000 000 000 000 000 139 653 545 984 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 279 307 091 968;
  • 29) 0.000 000 000 000 000 000 000 000 000 000 279 307 091 968 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 558 614 183 936;
  • 30) 0.000 000 000 000 000 000 000 000 000 000 558 614 183 936 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 117 228 367 872;
  • 31) 0.000 000 000 000 000 000 000 000 000 001 117 228 367 872 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 002 234 456 735 744;
  • 32) 0.000 000 000 000 000 000 000 000 000 002 234 456 735 744 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 004 468 913 471 488;
  • 33) 0.000 000 000 000 000 000 000 000 000 004 468 913 471 488 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 008 937 826 942 976;
  • 34) 0.000 000 000 000 000 000 000 000 000 008 937 826 942 976 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 017 875 653 885 952;
  • 35) 0.000 000 000 000 000 000 000 000 000 017 875 653 885 952 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 035 751 307 771 904;
  • 36) 0.000 000 000 000 000 000 000 000 000 035 751 307 771 904 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 071 502 615 543 808;
  • 37) 0.000 000 000 000 000 000 000 000 000 071 502 615 543 808 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 143 005 231 087 616;
  • 38) 0.000 000 000 000 000 000 000 000 000 143 005 231 087 616 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 286 010 462 175 232;
  • 39) 0.000 000 000 000 000 000 000 000 000 286 010 462 175 232 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 572 020 924 350 464;
  • 40) 0.000 000 000 000 000 000 000 000 000 572 020 924 350 464 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 144 041 848 700 928;
  • 41) 0.000 000 000 000 000 000 000 000 001 144 041 848 700 928 × 2 = 0 + 0.000 000 000 000 000 000 000 000 002 288 083 697 401 856;
  • 42) 0.000 000 000 000 000 000 000 000 002 288 083 697 401 856 × 2 = 0 + 0.000 000 000 000 000 000 000 000 004 576 167 394 803 712;
  • 43) 0.000 000 000 000 000 000 000 000 004 576 167 394 803 712 × 2 = 0 + 0.000 000 000 000 000 000 000 000 009 152 334 789 607 424;
  • 44) 0.000 000 000 000 000 000 000 000 009 152 334 789 607 424 × 2 = 0 + 0.000 000 000 000 000 000 000 000 018 304 669 579 214 848;
  • 45) 0.000 000 000 000 000 000 000 000 018 304 669 579 214 848 × 2 = 0 + 0.000 000 000 000 000 000 000 000 036 609 339 158 429 696;
  • 46) 0.000 000 000 000 000 000 000 000 036 609 339 158 429 696 × 2 = 0 + 0.000 000 000 000 000 000 000 000 073 218 678 316 859 392;
  • 47) 0.000 000 000 000 000 000 000 000 073 218 678 316 859 392 × 2 = 0 + 0.000 000 000 000 000 000 000 000 146 437 356 633 718 784;
  • 48) 0.000 000 000 000 000 000 000 000 146 437 356 633 718 784 × 2 = 0 + 0.000 000 000 000 000 000 000 000 292 874 713 267 437 568;
  • 49) 0.000 000 000 000 000 000 000 000 292 874 713 267 437 568 × 2 = 0 + 0.000 000 000 000 000 000 000 000 585 749 426 534 875 136;
  • 50) 0.000 000 000 000 000 000 000 000 585 749 426 534 875 136 × 2 = 0 + 0.000 000 000 000 000 000 000 001 171 498 853 069 750 272;
  • 51) 0.000 000 000 000 000 000 000 001 171 498 853 069 750 272 × 2 = 0 + 0.000 000 000 000 000 000 000 002 342 997 706 139 500 544;
  • 52) 0.000 000 000 000 000 000 000 002 342 997 706 139 500 544 × 2 = 0 + 0.000 000 000 000 000 000 000 004 685 995 412 279 001 088;
  • 53) 0.000 000 000 000 000 000 000 004 685 995 412 279 001 088 × 2 = 0 + 0.000 000 000 000 000 000 000 009 371 990 824 558 002 176;
  • 54) 0.000 000 000 000 000 000 000 009 371 990 824 558 002 176 × 2 = 0 + 0.000 000 000 000 000 000 000 018 743 981 649 116 004 352;
  • 55) 0.000 000 000 000 000 000 000 018 743 981 649 116 004 352 × 2 = 0 + 0.000 000 000 000 000 000 000 037 487 963 298 232 008 704;
  • 56) 0.000 000 000 000 000 000 000 037 487 963 298 232 008 704 × 2 = 0 + 0.000 000 000 000 000 000 000 074 975 926 596 464 017 408;
  • 57) 0.000 000 000 000 000 000 000 074 975 926 596 464 017 408 × 2 = 0 + 0.000 000 000 000 000 000 000 149 951 853 192 928 034 816;
  • 58) 0.000 000 000 000 000 000 000 149 951 853 192 928 034 816 × 2 = 0 + 0.000 000 000 000 000 000 000 299 903 706 385 856 069 632;
  • 59) 0.000 000 000 000 000 000 000 299 903 706 385 856 069 632 × 2 = 0 + 0.000 000 000 000 000 000 000 599 807 412 771 712 139 264;
  • 60) 0.000 000 000 000 000 000 000 599 807 412 771 712 139 264 × 2 = 0 + 0.000 000 000 000 000 000 001 199 614 825 543 424 278 528;
  • 61) 0.000 000 000 000 000 000 001 199 614 825 543 424 278 528 × 2 = 0 + 0.000 000 000 000 000 000 002 399 229 651 086 848 557 056;
  • 62) 0.000 000 000 000 000 000 002 399 229 651 086 848 557 056 × 2 = 0 + 0.000 000 000 000 000 000 004 798 459 302 173 697 114 112;
  • 63) 0.000 000 000 000 000 000 004 798 459 302 173 697 114 112 × 2 = 0 + 0.000 000 000 000 000 000 009 596 918 604 347 394 228 224;
  • 64) 0.000 000 000 000 000 000 009 596 918 604 347 394 228 224 × 2 = 0 + 0.000 000 000 000 000 000 019 193 837 208 694 788 456 448;
  • 65) 0.000 000 000 000 000 000 019 193 837 208 694 788 456 448 × 2 = 0 + 0.000 000 000 000 000 000 038 387 674 417 389 576 912 896;
  • 66) 0.000 000 000 000 000 000 038 387 674 417 389 576 912 896 × 2 = 0 + 0.000 000 000 000 000 000 076 775 348 834 779 153 825 792;
  • 67) 0.000 000 000 000 000 000 076 775 348 834 779 153 825 792 × 2 = 0 + 0.000 000 000 000 000 000 153 550 697 669 558 307 651 584;
  • 68) 0.000 000 000 000 000 000 153 550 697 669 558 307 651 584 × 2 = 0 + 0.000 000 000 000 000 000 307 101 395 339 116 615 303 168;
  • 69) 0.000 000 000 000 000 000 307 101 395 339 116 615 303 168 × 2 = 0 + 0.000 000 000 000 000 000 614 202 790 678 233 230 606 336;
  • 70) 0.000 000 000 000 000 000 614 202 790 678 233 230 606 336 × 2 = 0 + 0.000 000 000 000 000 001 228 405 581 356 466 461 212 672;
  • 71) 0.000 000 000 000 000 001 228 405 581 356 466 461 212 672 × 2 = 0 + 0.000 000 000 000 000 002 456 811 162 712 932 922 425 344;
  • 72) 0.000 000 000 000 000 002 456 811 162 712 932 922 425 344 × 2 = 0 + 0.000 000 000 000 000 004 913 622 325 425 865 844 850 688;
  • 73) 0.000 000 000 000 000 004 913 622 325 425 865 844 850 688 × 2 = 0 + 0.000 000 000 000 000 009 827 244 650 851 731 689 701 376;
  • 74) 0.000 000 000 000 000 009 827 244 650 851 731 689 701 376 × 2 = 0 + 0.000 000 000 000 000 019 654 489 301 703 463 379 402 752;
  • 75) 0.000 000 000 000 000 019 654 489 301 703 463 379 402 752 × 2 = 0 + 0.000 000 000 000 000 039 308 978 603 406 926 758 805 504;
  • 76) 0.000 000 000 000 000 039 308 978 603 406 926 758 805 504 × 2 = 0 + 0.000 000 000 000 000 078 617 957 206 813 853 517 611 008;
  • 77) 0.000 000 000 000 000 078 617 957 206 813 853 517 611 008 × 2 = 0 + 0.000 000 000 000 000 157 235 914 413 627 707 035 222 016;
  • 78) 0.000 000 000 000 000 157 235 914 413 627 707 035 222 016 × 2 = 0 + 0.000 000 000 000 000 314 471 828 827 255 414 070 444 032;
  • 79) 0.000 000 000 000 000 314 471 828 827 255 414 070 444 032 × 2 = 0 + 0.000 000 000 000 000 628 943 657 654 510 828 140 888 064;
  • 80) 0.000 000 000 000 000 628 943 657 654 510 828 140 888 064 × 2 = 0 + 0.000 000 000 000 001 257 887 315 309 021 656 281 776 128;
  • 81) 0.000 000 000 000 001 257 887 315 309 021 656 281 776 128 × 2 = 0 + 0.000 000 000 000 002 515 774 630 618 043 312 563 552 256;
  • 82) 0.000 000 000 000 002 515 774 630 618 043 312 563 552 256 × 2 = 0 + 0.000 000 000 000 005 031 549 261 236 086 625 127 104 512;
  • 83) 0.000 000 000 000 005 031 549 261 236 086 625 127 104 512 × 2 = 0 + 0.000 000 000 000 010 063 098 522 472 173 250 254 209 024;
  • 84) 0.000 000 000 000 010 063 098 522 472 173 250 254 209 024 × 2 = 0 + 0.000 000 000 000 020 126 197 044 944 346 500 508 418 048;
  • 85) 0.000 000 000 000 020 126 197 044 944 346 500 508 418 048 × 2 = 0 + 0.000 000 000 000 040 252 394 089 888 693 001 016 836 096;
  • 86) 0.000 000 000 000 040 252 394 089 888 693 001 016 836 096 × 2 = 0 + 0.000 000 000 000 080 504 788 179 777 386 002 033 672 192;
  • 87) 0.000 000 000 000 080 504 788 179 777 386 002 033 672 192 × 2 = 0 + 0.000 000 000 000 161 009 576 359 554 772 004 067 344 384;
  • 88) 0.000 000 000 000 161 009 576 359 554 772 004 067 344 384 × 2 = 0 + 0.000 000 000 000 322 019 152 719 109 544 008 134 688 768;
  • 89) 0.000 000 000 000 322 019 152 719 109 544 008 134 688 768 × 2 = 0 + 0.000 000 000 000 644 038 305 438 219 088 016 269 377 536;
  • 90) 0.000 000 000 000 644 038 305 438 219 088 016 269 377 536 × 2 = 0 + 0.000 000 000 001 288 076 610 876 438 176 032 538 755 072;
  • 91) 0.000 000 000 001 288 076 610 876 438 176 032 538 755 072 × 2 = 0 + 0.000 000 000 002 576 153 221 752 876 352 065 077 510 144;
  • 92) 0.000 000 000 002 576 153 221 752 876 352 065 077 510 144 × 2 = 0 + 0.000 000 000 005 152 306 443 505 752 704 130 155 020 288;
  • 93) 0.000 000 000 005 152 306 443 505 752 704 130 155 020 288 × 2 = 0 + 0.000 000 000 010 304 612 887 011 505 408 260 310 040 576;
  • 94) 0.000 000 000 010 304 612 887 011 505 408 260 310 040 576 × 2 = 0 + 0.000 000 000 020 609 225 774 023 010 816 520 620 081 152;
  • 95) 0.000 000 000 020 609 225 774 023 010 816 520 620 081 152 × 2 = 0 + 0.000 000 000 041 218 451 548 046 021 633 041 240 162 304;
  • 96) 0.000 000 000 041 218 451 548 046 021 633 041 240 162 304 × 2 = 0 + 0.000 000 000 082 436 903 096 092 043 266 082 480 324 608;
  • 97) 0.000 000 000 082 436 903 096 092 043 266 082 480 324 608 × 2 = 0 + 0.000 000 000 164 873 806 192 184 086 532 164 960 649 216;
  • 98) 0.000 000 000 164 873 806 192 184 086 532 164 960 649 216 × 2 = 0 + 0.000 000 000 329 747 612 384 368 173 064 329 921 298 432;
  • 99) 0.000 000 000 329 747 612 384 368 173 064 329 921 298 432 × 2 = 0 + 0.000 000 000 659 495 224 768 736 346 128 659 842 596 864;
  • 100) 0.000 000 000 659 495 224 768 736 346 128 659 842 596 864 × 2 = 0 + 0.000 000 001 318 990 449 537 472 692 257 319 685 193 728;
  • 101) 0.000 000 001 318 990 449 537 472 692 257 319 685 193 728 × 2 = 0 + 0.000 000 002 637 980 899 074 945 384 514 639 370 387 456;
  • 102) 0.000 000 002 637 980 899 074 945 384 514 639 370 387 456 × 2 = 0 + 0.000 000 005 275 961 798 149 890 769 029 278 740 774 912;
  • 103) 0.000 000 005 275 961 798 149 890 769 029 278 740 774 912 × 2 = 0 + 0.000 000 010 551 923 596 299 781 538 058 557 481 549 824;
  • 104) 0.000 000 010 551 923 596 299 781 538 058 557 481 549 824 × 2 = 0 + 0.000 000 021 103 847 192 599 563 076 117 114 963 099 648;
  • 105) 0.000 000 021 103 847 192 599 563 076 117 114 963 099 648 × 2 = 0 + 0.000 000 042 207 694 385 199 126 152 234 229 926 199 296;
  • 106) 0.000 000 042 207 694 385 199 126 152 234 229 926 199 296 × 2 = 0 + 0.000 000 084 415 388 770 398 252 304 468 459 852 398 592;
  • 107) 0.000 000 084 415 388 770 398 252 304 468 459 852 398 592 × 2 = 0 + 0.000 000 168 830 777 540 796 504 608 936 919 704 797 184;
  • 108) 0.000 000 168 830 777 540 796 504 608 936 919 704 797 184 × 2 = 0 + 0.000 000 337 661 555 081 593 009 217 873 839 409 594 368;
  • 109) 0.000 000 337 661 555 081 593 009 217 873 839 409 594 368 × 2 = 0 + 0.000 000 675 323 110 163 186 018 435 747 678 819 188 736;
  • 110) 0.000 000 675 323 110 163 186 018 435 747 678 819 188 736 × 2 = 0 + 0.000 001 350 646 220 326 372 036 871 495 357 638 377 472;
  • 111) 0.000 001 350 646 220 326 372 036 871 495 357 638 377 472 × 2 = 0 + 0.000 002 701 292 440 652 744 073 742 990 715 276 754 944;
  • 112) 0.000 002 701 292 440 652 744 073 742 990 715 276 754 944 × 2 = 0 + 0.000 005 402 584 881 305 488 147 485 981 430 553 509 888;
  • 113) 0.000 005 402 584 881 305 488 147 485 981 430 553 509 888 × 2 = 0 + 0.000 010 805 169 762 610 976 294 971 962 861 107 019 776;
  • 114) 0.000 010 805 169 762 610 976 294 971 962 861 107 019 776 × 2 = 0 + 0.000 021 610 339 525 221 952 589 943 925 722 214 039 552;
  • 115) 0.000 021 610 339 525 221 952 589 943 925 722 214 039 552 × 2 = 0 + 0.000 043 220 679 050 443 905 179 887 851 444 428 079 104;
  • 116) 0.000 043 220 679 050 443 905 179 887 851 444 428 079 104 × 2 = 0 + 0.000 086 441 358 100 887 810 359 775 702 888 856 158 208;
  • 117) 0.000 086 441 358 100 887 810 359 775 702 888 856 158 208 × 2 = 0 + 0.000 172 882 716 201 775 620 719 551 405 777 712 316 416;
  • 118) 0.000 172 882 716 201 775 620 719 551 405 777 712 316 416 × 2 = 0 + 0.000 345 765 432 403 551 241 439 102 811 555 424 632 832;
  • 119) 0.000 345 765 432 403 551 241 439 102 811 555 424 632 832 × 2 = 0 + 0.000 691 530 864 807 102 482 878 205 623 110 849 265 664;
  • 120) 0.000 691 530 864 807 102 482 878 205 623 110 849 265 664 × 2 = 0 + 0.001 383 061 729 614 204 965 756 411 246 221 698 531 328;
  • 121) 0.001 383 061 729 614 204 965 756 411 246 221 698 531 328 × 2 = 0 + 0.002 766 123 459 228 409 931 512 822 492 443 397 062 656;
  • 122) 0.002 766 123 459 228 409 931 512 822 492 443 397 062 656 × 2 = 0 + 0.005 532 246 918 456 819 863 025 644 984 886 794 125 312;
  • 123) 0.005 532 246 918 456 819 863 025 644 984 886 794 125 312 × 2 = 0 + 0.011 064 493 836 913 639 726 051 289 969 773 588 250 624;
  • 124) 0.011 064 493 836 913 639 726 051 289 969 773 588 250 624 × 2 = 0 + 0.022 128 987 673 827 279 452 102 579 939 547 176 501 248;
  • 125) 0.022 128 987 673 827 279 452 102 579 939 547 176 501 248 × 2 = 0 + 0.044 257 975 347 654 558 904 205 159 879 094 353 002 496;
  • 126) 0.044 257 975 347 654 558 904 205 159 879 094 353 002 496 × 2 = 0 + 0.088 515 950 695 309 117 808 410 319 758 188 706 004 992;
  • 127) 0.088 515 950 695 309 117 808 410 319 758 188 706 004 992 × 2 = 0 + 0.177 031 901 390 618 235 616 820 639 516 377 412 009 984;
  • 128) 0.177 031 901 390 618 235 616 820 639 516 377 412 009 984 × 2 = 0 + 0.354 063 802 781 236 471 233 641 279 032 754 824 019 968;
  • 129) 0.354 063 802 781 236 471 233 641 279 032 754 824 019 968 × 2 = 0 + 0.708 127 605 562 472 942 467 282 558 065 509 648 039 936;
  • 130) 0.708 127 605 562 472 942 467 282 558 065 509 648 039 936 × 2 = 1 + 0.416 255 211 124 945 884 934 565 116 131 019 296 079 872;
  • 131) 0.416 255 211 124 945 884 934 565 116 131 019 296 079 872 × 2 = 0 + 0.832 510 422 249 891 769 869 130 232 262 038 592 159 744;
  • 132) 0.832 510 422 249 891 769 869 130 232 262 038 592 159 744 × 2 = 1 + 0.665 020 844 499 783 539 738 260 464 524 077 184 319 488;
  • 133) 0.665 020 844 499 783 539 738 260 464 524 077 184 319 488 × 2 = 1 + 0.330 041 688 999 567 079 476 520 929 048 154 368 638 976;
  • 134) 0.330 041 688 999 567 079 476 520 929 048 154 368 638 976 × 2 = 0 + 0.660 083 377 999 134 158 953 041 858 096 308 737 277 952;
  • 135) 0.660 083 377 999 134 158 953 041 858 096 308 737 277 952 × 2 = 1 + 0.320 166 755 998 268 317 906 083 716 192 617 474 555 904;
  • 136) 0.320 166 755 998 268 317 906 083 716 192 617 474 555 904 × 2 = 0 + 0.640 333 511 996 536 635 812 167 432 385 234 949 111 808;
  • 137) 0.640 333 511 996 536 635 812 167 432 385 234 949 111 808 × 2 = 1 + 0.280 667 023 993 073 271 624 334 864 770 469 898 223 616;
  • 138) 0.280 667 023 993 073 271 624 334 864 770 469 898 223 616 × 2 = 0 + 0.561 334 047 986 146 543 248 669 729 540 939 796 447 232;
  • 139) 0.561 334 047 986 146 543 248 669 729 540 939 796 447 232 × 2 = 1 + 0.122 668 095 972 293 086 497 339 459 081 879 592 894 464;
  • 140) 0.122 668 095 972 293 086 497 339 459 081 879 592 894 464 × 2 = 0 + 0.245 336 191 944 586 172 994 678 918 163 759 185 788 928;
  • 141) 0.245 336 191 944 586 172 994 678 918 163 759 185 788 928 × 2 = 0 + 0.490 672 383 889 172 345 989 357 836 327 518 371 577 856;
  • 142) 0.490 672 383 889 172 345 989 357 836 327 518 371 577 856 × 2 = 0 + 0.981 344 767 778 344 691 978 715 672 655 036 743 155 712;
  • 143) 0.981 344 767 778 344 691 978 715 672 655 036 743 155 712 × 2 = 1 + 0.962 689 535 556 689 383 957 431 345 310 073 486 311 424;
  • 144) 0.962 689 535 556 689 383 957 431 345 310 073 486 311 424 × 2 = 1 + 0.925 379 071 113 378 767 914 862 690 620 146 972 622 848;
  • 145) 0.925 379 071 113 378 767 914 862 690 620 146 972 622 848 × 2 = 1 + 0.850 758 142 226 757 535 829 725 381 240 293 945 245 696;
  • 146) 0.850 758 142 226 757 535 829 725 381 240 293 945 245 696 × 2 = 1 + 0.701 516 284 453 515 071 659 450 762 480 587 890 491 392;
  • 147) 0.701 516 284 453 515 071 659 450 762 480 587 890 491 392 × 2 = 1 + 0.403 032 568 907 030 143 318 901 524 961 175 780 982 784;
  • 148) 0.403 032 568 907 030 143 318 901 524 961 175 780 982 784 × 2 = 0 + 0.806 065 137 814 060 286 637 803 049 922 351 561 965 568;
  • 149) 0.806 065 137 814 060 286 637 803 049 922 351 561 965 568 × 2 = 1 + 0.612 130 275 628 120 573 275 606 099 844 703 123 931 136;
  • 150) 0.612 130 275 628 120 573 275 606 099 844 703 123 931 136 × 2 = 1 + 0.224 260 551 256 241 146 551 212 199 689 406 247 862 272;
  • 151) 0.224 260 551 256 241 146 551 212 199 689 406 247 862 272 × 2 = 0 + 0.448 521 102 512 482 293 102 424 399 378 812 495 724 544;
  • 152) 0.448 521 102 512 482 293 102 424 399 378 812 495 724 544 × 2 = 0 + 0.897 042 205 024 964 586 204 848 798 757 624 991 449 088;
  • 153) 0.897 042 205 024 964 586 204 848 798 757 624 991 449 088 × 2 = 1 + 0.794 084 410 049 929 172 409 697 597 515 249 982 898 176;

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 000 001 040 5(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 0000 0000 0000 0101 1010 1010 0011 1110 1100 1(2)

5. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 000 001 040 5(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 0000 0000 0000 0101 1010 1010 0011 1110 1100 1(2)

6. Normalize the binary representation of the number.

Shift the decimal mark 130 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 000 001 040 5(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 0000 0000 0000 0101 1010 1010 0011 1110 1100 1(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 0000 0000 0000 0101 1010 1010 0011 1110 1100 1(2) × 20 =


1.0110 1010 1000 1111 1011 001(2) × 2-130


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


Mantissa (not normalized):
1.0110 1010 1000 1111 1011 001


8. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


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


(-130 + 127)(10) =


-3(10)


9. Negative exponent!

Your base ten decimal number is too close to ZERO to convert it otherwise to 32 bit single precision IEEE 754 binary floating point representation.

So it will be approximated and treated as ZERO.


10. IEEE 754, Special Case: ZERO

ZERO: Under the IEEE 754 standard, the reserved bitpattern of all the bits of the exponent and the mantissa set on 0 is being used.


-0 and +0 are distinct values, though they are equal.


11. 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 0000


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


Decimal number 0.000 000 000 000 000 000 000 000 000 000 000 000 001 040 5 converted to 32 bit single precision IEEE 754 binary floating point representation:

0 - 0000 0000 - 000 0000 0000 0000 0000 0000

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