-0.000 000 000 000 000 000 000 000 000 000 000 000 086 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 086(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 086(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. Start with the positive version of the number:

|-0.000 000 000 000 000 000 000 000 000 000 000 000 086| = 0.000 000 000 000 000 000 000 000 000 000 000 000 086


2. 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;

3. 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)


4. Convert to binary (base 2) the fractional part: 0.000 000 000 000 000 000 000 000 000 000 000 000 086.

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 086 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 172;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 000 172 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 344;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 000 344 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 688;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 000 688 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 001 376;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 001 376 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 002 752;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 002 752 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 005 504;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 005 504 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 011 008;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 011 008 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 022 016;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 000 022 016 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 044 032;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 000 044 032 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 088 064;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 000 088 064 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 176 128;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 000 176 128 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 352 256;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 000 352 256 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 704 512;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 000 704 512 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 409 024;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 001 409 024 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 002 818 048;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 002 818 048 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 005 636 096;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 005 636 096 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 011 272 192;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 011 272 192 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 022 544 384;
  • 19) 0.000 000 000 000 000 000 000 000 000 000 022 544 384 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 045 088 768;
  • 20) 0.000 000 000 000 000 000 000 000 000 000 045 088 768 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 090 177 536;
  • 21) 0.000 000 000 000 000 000 000 000 000 000 090 177 536 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 180 355 072;
  • 22) 0.000 000 000 000 000 000 000 000 000 000 180 355 072 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 360 710 144;
  • 23) 0.000 000 000 000 000 000 000 000 000 000 360 710 144 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 721 420 288;
  • 24) 0.000 000 000 000 000 000 000 000 000 000 721 420 288 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 442 840 576;
  • 25) 0.000 000 000 000 000 000 000 000 000 001 442 840 576 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 002 885 681 152;
  • 26) 0.000 000 000 000 000 000 000 000 000 002 885 681 152 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 005 771 362 304;
  • 27) 0.000 000 000 000 000 000 000 000 000 005 771 362 304 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 011 542 724 608;
  • 28) 0.000 000 000 000 000 000 000 000 000 011 542 724 608 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 023 085 449 216;
  • 29) 0.000 000 000 000 000 000 000 000 000 023 085 449 216 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 046 170 898 432;
  • 30) 0.000 000 000 000 000 000 000 000 000 046 170 898 432 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 092 341 796 864;
  • 31) 0.000 000 000 000 000 000 000 000 000 092 341 796 864 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 184 683 593 728;
  • 32) 0.000 000 000 000 000 000 000 000 000 184 683 593 728 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 369 367 187 456;
  • 33) 0.000 000 000 000 000 000 000 000 000 369 367 187 456 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 738 734 374 912;
  • 34) 0.000 000 000 000 000 000 000 000 000 738 734 374 912 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 477 468 749 824;
  • 35) 0.000 000 000 000 000 000 000 000 001 477 468 749 824 × 2 = 0 + 0.000 000 000 000 000 000 000 000 002 954 937 499 648;
  • 36) 0.000 000 000 000 000 000 000 000 002 954 937 499 648 × 2 = 0 + 0.000 000 000 000 000 000 000 000 005 909 874 999 296;
  • 37) 0.000 000 000 000 000 000 000 000 005 909 874 999 296 × 2 = 0 + 0.000 000 000 000 000 000 000 000 011 819 749 998 592;
  • 38) 0.000 000 000 000 000 000 000 000 011 819 749 998 592 × 2 = 0 + 0.000 000 000 000 000 000 000 000 023 639 499 997 184;
  • 39) 0.000 000 000 000 000 000 000 000 023 639 499 997 184 × 2 = 0 + 0.000 000 000 000 000 000 000 000 047 278 999 994 368;
  • 40) 0.000 000 000 000 000 000 000 000 047 278 999 994 368 × 2 = 0 + 0.000 000 000 000 000 000 000 000 094 557 999 988 736;
  • 41) 0.000 000 000 000 000 000 000 000 094 557 999 988 736 × 2 = 0 + 0.000 000 000 000 000 000 000 000 189 115 999 977 472;
  • 42) 0.000 000 000 000 000 000 000 000 189 115 999 977 472 × 2 = 0 + 0.000 000 000 000 000 000 000 000 378 231 999 954 944;
  • 43) 0.000 000 000 000 000 000 000 000 378 231 999 954 944 × 2 = 0 + 0.000 000 000 000 000 000 000 000 756 463 999 909 888;
  • 44) 0.000 000 000 000 000 000 000 000 756 463 999 909 888 × 2 = 0 + 0.000 000 000 000 000 000 000 001 512 927 999 819 776;
  • 45) 0.000 000 000 000 000 000 000 001 512 927 999 819 776 × 2 = 0 + 0.000 000 000 000 000 000 000 003 025 855 999 639 552;
  • 46) 0.000 000 000 000 000 000 000 003 025 855 999 639 552 × 2 = 0 + 0.000 000 000 000 000 000 000 006 051 711 999 279 104;
  • 47) 0.000 000 000 000 000 000 000 006 051 711 999 279 104 × 2 = 0 + 0.000 000 000 000 000 000 000 012 103 423 998 558 208;
  • 48) 0.000 000 000 000 000 000 000 012 103 423 998 558 208 × 2 = 0 + 0.000 000 000 000 000 000 000 024 206 847 997 116 416;
  • 49) 0.000 000 000 000 000 000 000 024 206 847 997 116 416 × 2 = 0 + 0.000 000 000 000 000 000 000 048 413 695 994 232 832;
  • 50) 0.000 000 000 000 000 000 000 048 413 695 994 232 832 × 2 = 0 + 0.000 000 000 000 000 000 000 096 827 391 988 465 664;
  • 51) 0.000 000 000 000 000 000 000 096 827 391 988 465 664 × 2 = 0 + 0.000 000 000 000 000 000 000 193 654 783 976 931 328;
  • 52) 0.000 000 000 000 000 000 000 193 654 783 976 931 328 × 2 = 0 + 0.000 000 000 000 000 000 000 387 309 567 953 862 656;
  • 53) 0.000 000 000 000 000 000 000 387 309 567 953 862 656 × 2 = 0 + 0.000 000 000 000 000 000 000 774 619 135 907 725 312;
  • 54) 0.000 000 000 000 000 000 000 774 619 135 907 725 312 × 2 = 0 + 0.000 000 000 000 000 000 001 549 238 271 815 450 624;
  • 55) 0.000 000 000 000 000 000 001 549 238 271 815 450 624 × 2 = 0 + 0.000 000 000 000 000 000 003 098 476 543 630 901 248;
  • 56) 0.000 000 000 000 000 000 003 098 476 543 630 901 248 × 2 = 0 + 0.000 000 000 000 000 000 006 196 953 087 261 802 496;
  • 57) 0.000 000 000 000 000 000 006 196 953 087 261 802 496 × 2 = 0 + 0.000 000 000 000 000 000 012 393 906 174 523 604 992;
  • 58) 0.000 000 000 000 000 000 012 393 906 174 523 604 992 × 2 = 0 + 0.000 000 000 000 000 000 024 787 812 349 047 209 984;
  • 59) 0.000 000 000 000 000 000 024 787 812 349 047 209 984 × 2 = 0 + 0.000 000 000 000 000 000 049 575 624 698 094 419 968;
  • 60) 0.000 000 000 000 000 000 049 575 624 698 094 419 968 × 2 = 0 + 0.000 000 000 000 000 000 099 151 249 396 188 839 936;
  • 61) 0.000 000 000 000 000 000 099 151 249 396 188 839 936 × 2 = 0 + 0.000 000 000 000 000 000 198 302 498 792 377 679 872;
  • 62) 0.000 000 000 000 000 000 198 302 498 792 377 679 872 × 2 = 0 + 0.000 000 000 000 000 000 396 604 997 584 755 359 744;
  • 63) 0.000 000 000 000 000 000 396 604 997 584 755 359 744 × 2 = 0 + 0.000 000 000 000 000 000 793 209 995 169 510 719 488;
  • 64) 0.000 000 000 000 000 000 793 209 995 169 510 719 488 × 2 = 0 + 0.000 000 000 000 000 001 586 419 990 339 021 438 976;
  • 65) 0.000 000 000 000 000 001 586 419 990 339 021 438 976 × 2 = 0 + 0.000 000 000 000 000 003 172 839 980 678 042 877 952;
  • 66) 0.000 000 000 000 000 003 172 839 980 678 042 877 952 × 2 = 0 + 0.000 000 000 000 000 006 345 679 961 356 085 755 904;
  • 67) 0.000 000 000 000 000 006 345 679 961 356 085 755 904 × 2 = 0 + 0.000 000 000 000 000 012 691 359 922 712 171 511 808;
  • 68) 0.000 000 000 000 000 012 691 359 922 712 171 511 808 × 2 = 0 + 0.000 000 000 000 000 025 382 719 845 424 343 023 616;
  • 69) 0.000 000 000 000 000 025 382 719 845 424 343 023 616 × 2 = 0 + 0.000 000 000 000 000 050 765 439 690 848 686 047 232;
  • 70) 0.000 000 000 000 000 050 765 439 690 848 686 047 232 × 2 = 0 + 0.000 000 000 000 000 101 530 879 381 697 372 094 464;
  • 71) 0.000 000 000 000 000 101 530 879 381 697 372 094 464 × 2 = 0 + 0.000 000 000 000 000 203 061 758 763 394 744 188 928;
  • 72) 0.000 000 000 000 000 203 061 758 763 394 744 188 928 × 2 = 0 + 0.000 000 000 000 000 406 123 517 526 789 488 377 856;
  • 73) 0.000 000 000 000 000 406 123 517 526 789 488 377 856 × 2 = 0 + 0.000 000 000 000 000 812 247 035 053 578 976 755 712;
  • 74) 0.000 000 000 000 000 812 247 035 053 578 976 755 712 × 2 = 0 + 0.000 000 000 000 001 624 494 070 107 157 953 511 424;
  • 75) 0.000 000 000 000 001 624 494 070 107 157 953 511 424 × 2 = 0 + 0.000 000 000 000 003 248 988 140 214 315 907 022 848;
  • 76) 0.000 000 000 000 003 248 988 140 214 315 907 022 848 × 2 = 0 + 0.000 000 000 000 006 497 976 280 428 631 814 045 696;
  • 77) 0.000 000 000 000 006 497 976 280 428 631 814 045 696 × 2 = 0 + 0.000 000 000 000 012 995 952 560 857 263 628 091 392;
  • 78) 0.000 000 000 000 012 995 952 560 857 263 628 091 392 × 2 = 0 + 0.000 000 000 000 025 991 905 121 714 527 256 182 784;
  • 79) 0.000 000 000 000 025 991 905 121 714 527 256 182 784 × 2 = 0 + 0.000 000 000 000 051 983 810 243 429 054 512 365 568;
  • 80) 0.000 000 000 000 051 983 810 243 429 054 512 365 568 × 2 = 0 + 0.000 000 000 000 103 967 620 486 858 109 024 731 136;
  • 81) 0.000 000 000 000 103 967 620 486 858 109 024 731 136 × 2 = 0 + 0.000 000 000 000 207 935 240 973 716 218 049 462 272;
  • 82) 0.000 000 000 000 207 935 240 973 716 218 049 462 272 × 2 = 0 + 0.000 000 000 000 415 870 481 947 432 436 098 924 544;
  • 83) 0.000 000 000 000 415 870 481 947 432 436 098 924 544 × 2 = 0 + 0.000 000 000 000 831 740 963 894 864 872 197 849 088;
  • 84) 0.000 000 000 000 831 740 963 894 864 872 197 849 088 × 2 = 0 + 0.000 000 000 001 663 481 927 789 729 744 395 698 176;
  • 85) 0.000 000 000 001 663 481 927 789 729 744 395 698 176 × 2 = 0 + 0.000 000 000 003 326 963 855 579 459 488 791 396 352;
  • 86) 0.000 000 000 003 326 963 855 579 459 488 791 396 352 × 2 = 0 + 0.000 000 000 006 653 927 711 158 918 977 582 792 704;
  • 87) 0.000 000 000 006 653 927 711 158 918 977 582 792 704 × 2 = 0 + 0.000 000 000 013 307 855 422 317 837 955 165 585 408;
  • 88) 0.000 000 000 013 307 855 422 317 837 955 165 585 408 × 2 = 0 + 0.000 000 000 026 615 710 844 635 675 910 331 170 816;
  • 89) 0.000 000 000 026 615 710 844 635 675 910 331 170 816 × 2 = 0 + 0.000 000 000 053 231 421 689 271 351 820 662 341 632;
  • 90) 0.000 000 000 053 231 421 689 271 351 820 662 341 632 × 2 = 0 + 0.000 000 000 106 462 843 378 542 703 641 324 683 264;
  • 91) 0.000 000 000 106 462 843 378 542 703 641 324 683 264 × 2 = 0 + 0.000 000 000 212 925 686 757 085 407 282 649 366 528;
  • 92) 0.000 000 000 212 925 686 757 085 407 282 649 366 528 × 2 = 0 + 0.000 000 000 425 851 373 514 170 814 565 298 733 056;
  • 93) 0.000 000 000 425 851 373 514 170 814 565 298 733 056 × 2 = 0 + 0.000 000 000 851 702 747 028 341 629 130 597 466 112;
  • 94) 0.000 000 000 851 702 747 028 341 629 130 597 466 112 × 2 = 0 + 0.000 000 001 703 405 494 056 683 258 261 194 932 224;
  • 95) 0.000 000 001 703 405 494 056 683 258 261 194 932 224 × 2 = 0 + 0.000 000 003 406 810 988 113 366 516 522 389 864 448;
  • 96) 0.000 000 003 406 810 988 113 366 516 522 389 864 448 × 2 = 0 + 0.000 000 006 813 621 976 226 733 033 044 779 728 896;
  • 97) 0.000 000 006 813 621 976 226 733 033 044 779 728 896 × 2 = 0 + 0.000 000 013 627 243 952 453 466 066 089 559 457 792;
  • 98) 0.000 000 013 627 243 952 453 466 066 089 559 457 792 × 2 = 0 + 0.000 000 027 254 487 904 906 932 132 179 118 915 584;
  • 99) 0.000 000 027 254 487 904 906 932 132 179 118 915 584 × 2 = 0 + 0.000 000 054 508 975 809 813 864 264 358 237 831 168;
  • 100) 0.000 000 054 508 975 809 813 864 264 358 237 831 168 × 2 = 0 + 0.000 000 109 017 951 619 627 728 528 716 475 662 336;
  • 101) 0.000 000 109 017 951 619 627 728 528 716 475 662 336 × 2 = 0 + 0.000 000 218 035 903 239 255 457 057 432 951 324 672;
  • 102) 0.000 000 218 035 903 239 255 457 057 432 951 324 672 × 2 = 0 + 0.000 000 436 071 806 478 510 914 114 865 902 649 344;
  • 103) 0.000 000 436 071 806 478 510 914 114 865 902 649 344 × 2 = 0 + 0.000 000 872 143 612 957 021 828 229 731 805 298 688;
  • 104) 0.000 000 872 143 612 957 021 828 229 731 805 298 688 × 2 = 0 + 0.000 001 744 287 225 914 043 656 459 463 610 597 376;
  • 105) 0.000 001 744 287 225 914 043 656 459 463 610 597 376 × 2 = 0 + 0.000 003 488 574 451 828 087 312 918 927 221 194 752;
  • 106) 0.000 003 488 574 451 828 087 312 918 927 221 194 752 × 2 = 0 + 0.000 006 977 148 903 656 174 625 837 854 442 389 504;
  • 107) 0.000 006 977 148 903 656 174 625 837 854 442 389 504 × 2 = 0 + 0.000 013 954 297 807 312 349 251 675 708 884 779 008;
  • 108) 0.000 013 954 297 807 312 349 251 675 708 884 779 008 × 2 = 0 + 0.000 027 908 595 614 624 698 503 351 417 769 558 016;
  • 109) 0.000 027 908 595 614 624 698 503 351 417 769 558 016 × 2 = 0 + 0.000 055 817 191 229 249 397 006 702 835 539 116 032;
  • 110) 0.000 055 817 191 229 249 397 006 702 835 539 116 032 × 2 = 0 + 0.000 111 634 382 458 498 794 013 405 671 078 232 064;
  • 111) 0.000 111 634 382 458 498 794 013 405 671 078 232 064 × 2 = 0 + 0.000 223 268 764 916 997 588 026 811 342 156 464 128;
  • 112) 0.000 223 268 764 916 997 588 026 811 342 156 464 128 × 2 = 0 + 0.000 446 537 529 833 995 176 053 622 684 312 928 256;
  • 113) 0.000 446 537 529 833 995 176 053 622 684 312 928 256 × 2 = 0 + 0.000 893 075 059 667 990 352 107 245 368 625 856 512;
  • 114) 0.000 893 075 059 667 990 352 107 245 368 625 856 512 × 2 = 0 + 0.001 786 150 119 335 980 704 214 490 737 251 713 024;
  • 115) 0.001 786 150 119 335 980 704 214 490 737 251 713 024 × 2 = 0 + 0.003 572 300 238 671 961 408 428 981 474 503 426 048;
  • 116) 0.003 572 300 238 671 961 408 428 981 474 503 426 048 × 2 = 0 + 0.007 144 600 477 343 922 816 857 962 949 006 852 096;
  • 117) 0.007 144 600 477 343 922 816 857 962 949 006 852 096 × 2 = 0 + 0.014 289 200 954 687 845 633 715 925 898 013 704 192;
  • 118) 0.014 289 200 954 687 845 633 715 925 898 013 704 192 × 2 = 0 + 0.028 578 401 909 375 691 267 431 851 796 027 408 384;
  • 119) 0.028 578 401 909 375 691 267 431 851 796 027 408 384 × 2 = 0 + 0.057 156 803 818 751 382 534 863 703 592 054 816 768;
  • 120) 0.057 156 803 818 751 382 534 863 703 592 054 816 768 × 2 = 0 + 0.114 313 607 637 502 765 069 727 407 184 109 633 536;
  • 121) 0.114 313 607 637 502 765 069 727 407 184 109 633 536 × 2 = 0 + 0.228 627 215 275 005 530 139 454 814 368 219 267 072;
  • 122) 0.228 627 215 275 005 530 139 454 814 368 219 267 072 × 2 = 0 + 0.457 254 430 550 011 060 278 909 628 736 438 534 144;
  • 123) 0.457 254 430 550 011 060 278 909 628 736 438 534 144 × 2 = 0 + 0.914 508 861 100 022 120 557 819 257 472 877 068 288;
  • 124) 0.914 508 861 100 022 120 557 819 257 472 877 068 288 × 2 = 1 + 0.829 017 722 200 044 241 115 638 514 945 754 136 576;
  • 125) 0.829 017 722 200 044 241 115 638 514 945 754 136 576 × 2 = 1 + 0.658 035 444 400 088 482 231 277 029 891 508 273 152;
  • 126) 0.658 035 444 400 088 482 231 277 029 891 508 273 152 × 2 = 1 + 0.316 070 888 800 176 964 462 554 059 783 016 546 304;
  • 127) 0.316 070 888 800 176 964 462 554 059 783 016 546 304 × 2 = 0 + 0.632 141 777 600 353 928 925 108 119 566 033 092 608;
  • 128) 0.632 141 777 600 353 928 925 108 119 566 033 092 608 × 2 = 1 + 0.264 283 555 200 707 857 850 216 239 132 066 185 216;
  • 129) 0.264 283 555 200 707 857 850 216 239 132 066 185 216 × 2 = 0 + 0.528 567 110 401 415 715 700 432 478 264 132 370 432;
  • 130) 0.528 567 110 401 415 715 700 432 478 264 132 370 432 × 2 = 1 + 0.057 134 220 802 831 431 400 864 956 528 264 740 864;
  • 131) 0.057 134 220 802 831 431 400 864 956 528 264 740 864 × 2 = 0 + 0.114 268 441 605 662 862 801 729 913 056 529 481 728;
  • 132) 0.114 268 441 605 662 862 801 729 913 056 529 481 728 × 2 = 0 + 0.228 536 883 211 325 725 603 459 826 113 058 963 456;
  • 133) 0.228 536 883 211 325 725 603 459 826 113 058 963 456 × 2 = 0 + 0.457 073 766 422 651 451 206 919 652 226 117 926 912;
  • 134) 0.457 073 766 422 651 451 206 919 652 226 117 926 912 × 2 = 0 + 0.914 147 532 845 302 902 413 839 304 452 235 853 824;
  • 135) 0.914 147 532 845 302 902 413 839 304 452 235 853 824 × 2 = 1 + 0.828 295 065 690 605 804 827 678 608 904 471 707 648;
  • 136) 0.828 295 065 690 605 804 827 678 608 904 471 707 648 × 2 = 1 + 0.656 590 131 381 211 609 655 357 217 808 943 415 296;
  • 137) 0.656 590 131 381 211 609 655 357 217 808 943 415 296 × 2 = 1 + 0.313 180 262 762 423 219 310 714 435 617 886 830 592;
  • 138) 0.313 180 262 762 423 219 310 714 435 617 886 830 592 × 2 = 0 + 0.626 360 525 524 846 438 621 428 871 235 773 661 184;
  • 139) 0.626 360 525 524 846 438 621 428 871 235 773 661 184 × 2 = 1 + 0.252 721 051 049 692 877 242 857 742 471 547 322 368;
  • 140) 0.252 721 051 049 692 877 242 857 742 471 547 322 368 × 2 = 0 + 0.505 442 102 099 385 754 485 715 484 943 094 644 736;
  • 141) 0.505 442 102 099 385 754 485 715 484 943 094 644 736 × 2 = 1 + 0.010 884 204 198 771 508 971 430 969 886 189 289 472;
  • 142) 0.010 884 204 198 771 508 971 430 969 886 189 289 472 × 2 = 0 + 0.021 768 408 397 543 017 942 861 939 772 378 578 944;
  • 143) 0.021 768 408 397 543 017 942 861 939 772 378 578 944 × 2 = 0 + 0.043 536 816 795 086 035 885 723 879 544 757 157 888;
  • 144) 0.043 536 816 795 086 035 885 723 879 544 757 157 888 × 2 = 0 + 0.087 073 633 590 172 071 771 447 759 089 514 315 776;
  • 145) 0.087 073 633 590 172 071 771 447 759 089 514 315 776 × 2 = 0 + 0.174 147 267 180 344 143 542 895 518 179 028 631 552;
  • 146) 0.174 147 267 180 344 143 542 895 518 179 028 631 552 × 2 = 0 + 0.348 294 534 360 688 287 085 791 036 358 057 263 104;
  • 147) 0.348 294 534 360 688 287 085 791 036 358 057 263 104 × 2 = 0 + 0.696 589 068 721 376 574 171 582 072 716 114 526 208;

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).


5. 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 086(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 0001 1101 0100 0011 1010 1000 000(2)

6. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 000 086(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 0001 1101 0100 0011 1010 1000 000(2)

7. Normalize the binary representation of the number.

Shift the decimal mark 124 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 086(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 0001 1101 0100 0011 1010 1000 000(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 0001 1101 0100 0011 1010 1000 000(2) × 20 =


1.1101 0100 0011 1010 1000 000(2) × 2-124


8. 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 1 (a negative number)


Exponent (unadjusted): -124


Mantissa (not normalized):
1.1101 0100 0011 1010 1000 000


9. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


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


(-124 + 127)(10) =


3(10)


10. 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;
  • 3 ÷ 2 = 1 + 1;
  • 1 ÷ 2 = 0 + 1;

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

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


Exponent (adjusted) =


3(10) =


0000 0011(2)


12. 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. 110 1010 0001 1101 0100 0000 =


110 1010 0001 1101 0100 0000


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

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


Exponent (8 bits) =
0000 0011


Mantissa (23 bits) =
110 1010 0001 1101 0100 0000


Decimal number -0.000 000 000 000 000 000 000 000 000 000 000 000 086 converted to 32 bit single precision IEEE 754 binary floating point representation:

1 - 0000 0011 - 110 1010 0001 1101 0100 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