-0.000 000 000 000 000 000 000 000 000 000 000 000 000 281 8 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 000 281 8(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 000 281 8(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 000 281 8| = 0.000 000 000 000 000 000 000 000 000 000 000 000 000 281 8


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 000 281 8.

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 000 281 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 000 563 6;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 000 000 563 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 001 127 2;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 000 001 127 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 002 254 4;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 000 002 254 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 004 508 8;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 000 004 508 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 009 017 6;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 000 009 017 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 018 035 2;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 000 018 035 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 036 070 4;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 000 036 070 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 072 140 8;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 000 000 072 140 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 144 281 6;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 000 000 144 281 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 288 563 2;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 000 000 288 563 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 577 126 4;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 000 000 577 126 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 001 154 252 8;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 000 001 154 252 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 002 308 505 6;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 000 002 308 505 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 004 617 011 2;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 000 004 617 011 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 009 234 022 4;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 000 009 234 022 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 018 468 044 8;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 000 018 468 044 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 036 936 089 6;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 000 036 936 089 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 073 872 179 2;
  • 19) 0.000 000 000 000 000 000 000 000 000 000 000 073 872 179 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 147 744 358 4;
  • 20) 0.000 000 000 000 000 000 000 000 000 000 000 147 744 358 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 295 488 716 8;
  • 21) 0.000 000 000 000 000 000 000 000 000 000 000 295 488 716 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 590 977 433 6;
  • 22) 0.000 000 000 000 000 000 000 000 000 000 000 590 977 433 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 181 954 867 2;
  • 23) 0.000 000 000 000 000 000 000 000 000 000 001 181 954 867 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 002 363 909 734 4;
  • 24) 0.000 000 000 000 000 000 000 000 000 000 002 363 909 734 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 004 727 819 468 8;
  • 25) 0.000 000 000 000 000 000 000 000 000 000 004 727 819 468 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 009 455 638 937 6;
  • 26) 0.000 000 000 000 000 000 000 000 000 000 009 455 638 937 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 018 911 277 875 2;
  • 27) 0.000 000 000 000 000 000 000 000 000 000 018 911 277 875 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 037 822 555 750 4;
  • 28) 0.000 000 000 000 000 000 000 000 000 000 037 822 555 750 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 075 645 111 500 8;
  • 29) 0.000 000 000 000 000 000 000 000 000 000 075 645 111 500 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 151 290 223 001 6;
  • 30) 0.000 000 000 000 000 000 000 000 000 000 151 290 223 001 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 302 580 446 003 2;
  • 31) 0.000 000 000 000 000 000 000 000 000 000 302 580 446 003 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 605 160 892 006 4;
  • 32) 0.000 000 000 000 000 000 000 000 000 000 605 160 892 006 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 210 321 784 012 8;
  • 33) 0.000 000 000 000 000 000 000 000 000 001 210 321 784 012 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 002 420 643 568 025 6;
  • 34) 0.000 000 000 000 000 000 000 000 000 002 420 643 568 025 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 004 841 287 136 051 2;
  • 35) 0.000 000 000 000 000 000 000 000 000 004 841 287 136 051 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 009 682 574 272 102 4;
  • 36) 0.000 000 000 000 000 000 000 000 000 009 682 574 272 102 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 019 365 148 544 204 8;
  • 37) 0.000 000 000 000 000 000 000 000 000 019 365 148 544 204 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 038 730 297 088 409 6;
  • 38) 0.000 000 000 000 000 000 000 000 000 038 730 297 088 409 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 077 460 594 176 819 2;
  • 39) 0.000 000 000 000 000 000 000 000 000 077 460 594 176 819 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 154 921 188 353 638 4;
  • 40) 0.000 000 000 000 000 000 000 000 000 154 921 188 353 638 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 309 842 376 707 276 8;
  • 41) 0.000 000 000 000 000 000 000 000 000 309 842 376 707 276 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 619 684 753 414 553 6;
  • 42) 0.000 000 000 000 000 000 000 000 000 619 684 753 414 553 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 239 369 506 829 107 2;
  • 43) 0.000 000 000 000 000 000 000 000 001 239 369 506 829 107 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 002 478 739 013 658 214 4;
  • 44) 0.000 000 000 000 000 000 000 000 002 478 739 013 658 214 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 004 957 478 027 316 428 8;
  • 45) 0.000 000 000 000 000 000 000 000 004 957 478 027 316 428 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 009 914 956 054 632 857 6;
  • 46) 0.000 000 000 000 000 000 000 000 009 914 956 054 632 857 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 019 829 912 109 265 715 2;
  • 47) 0.000 000 000 000 000 000 000 000 019 829 912 109 265 715 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 039 659 824 218 531 430 4;
  • 48) 0.000 000 000 000 000 000 000 000 039 659 824 218 531 430 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 079 319 648 437 062 860 8;
  • 49) 0.000 000 000 000 000 000 000 000 079 319 648 437 062 860 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 158 639 296 874 125 721 6;
  • 50) 0.000 000 000 000 000 000 000 000 158 639 296 874 125 721 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 317 278 593 748 251 443 2;
  • 51) 0.000 000 000 000 000 000 000 000 317 278 593 748 251 443 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 634 557 187 496 502 886 4;
  • 52) 0.000 000 000 000 000 000 000 000 634 557 187 496 502 886 4 × 2 = 0 + 0.000 000 000 000 000 000 000 001 269 114 374 993 005 772 8;
  • 53) 0.000 000 000 000 000 000 000 001 269 114 374 993 005 772 8 × 2 = 0 + 0.000 000 000 000 000 000 000 002 538 228 749 986 011 545 6;
  • 54) 0.000 000 000 000 000 000 000 002 538 228 749 986 011 545 6 × 2 = 0 + 0.000 000 000 000 000 000 000 005 076 457 499 972 023 091 2;
  • 55) 0.000 000 000 000 000 000 000 005 076 457 499 972 023 091 2 × 2 = 0 + 0.000 000 000 000 000 000 000 010 152 914 999 944 046 182 4;
  • 56) 0.000 000 000 000 000 000 000 010 152 914 999 944 046 182 4 × 2 = 0 + 0.000 000 000 000 000 000 000 020 305 829 999 888 092 364 8;
  • 57) 0.000 000 000 000 000 000 000 020 305 829 999 888 092 364 8 × 2 = 0 + 0.000 000 000 000 000 000 000 040 611 659 999 776 184 729 6;
  • 58) 0.000 000 000 000 000 000 000 040 611 659 999 776 184 729 6 × 2 = 0 + 0.000 000 000 000 000 000 000 081 223 319 999 552 369 459 2;
  • 59) 0.000 000 000 000 000 000 000 081 223 319 999 552 369 459 2 × 2 = 0 + 0.000 000 000 000 000 000 000 162 446 639 999 104 738 918 4;
  • 60) 0.000 000 000 000 000 000 000 162 446 639 999 104 738 918 4 × 2 = 0 + 0.000 000 000 000 000 000 000 324 893 279 998 209 477 836 8;
  • 61) 0.000 000 000 000 000 000 000 324 893 279 998 209 477 836 8 × 2 = 0 + 0.000 000 000 000 000 000 000 649 786 559 996 418 955 673 6;
  • 62) 0.000 000 000 000 000 000 000 649 786 559 996 418 955 673 6 × 2 = 0 + 0.000 000 000 000 000 000 001 299 573 119 992 837 911 347 2;
  • 63) 0.000 000 000 000 000 000 001 299 573 119 992 837 911 347 2 × 2 = 0 + 0.000 000 000 000 000 000 002 599 146 239 985 675 822 694 4;
  • 64) 0.000 000 000 000 000 000 002 599 146 239 985 675 822 694 4 × 2 = 0 + 0.000 000 000 000 000 000 005 198 292 479 971 351 645 388 8;
  • 65) 0.000 000 000 000 000 000 005 198 292 479 971 351 645 388 8 × 2 = 0 + 0.000 000 000 000 000 000 010 396 584 959 942 703 290 777 6;
  • 66) 0.000 000 000 000 000 000 010 396 584 959 942 703 290 777 6 × 2 = 0 + 0.000 000 000 000 000 000 020 793 169 919 885 406 581 555 2;
  • 67) 0.000 000 000 000 000 000 020 793 169 919 885 406 581 555 2 × 2 = 0 + 0.000 000 000 000 000 000 041 586 339 839 770 813 163 110 4;
  • 68) 0.000 000 000 000 000 000 041 586 339 839 770 813 163 110 4 × 2 = 0 + 0.000 000 000 000 000 000 083 172 679 679 541 626 326 220 8;
  • 69) 0.000 000 000 000 000 000 083 172 679 679 541 626 326 220 8 × 2 = 0 + 0.000 000 000 000 000 000 166 345 359 359 083 252 652 441 6;
  • 70) 0.000 000 000 000 000 000 166 345 359 359 083 252 652 441 6 × 2 = 0 + 0.000 000 000 000 000 000 332 690 718 718 166 505 304 883 2;
  • 71) 0.000 000 000 000 000 000 332 690 718 718 166 505 304 883 2 × 2 = 0 + 0.000 000 000 000 000 000 665 381 437 436 333 010 609 766 4;
  • 72) 0.000 000 000 000 000 000 665 381 437 436 333 010 609 766 4 × 2 = 0 + 0.000 000 000 000 000 001 330 762 874 872 666 021 219 532 8;
  • 73) 0.000 000 000 000 000 001 330 762 874 872 666 021 219 532 8 × 2 = 0 + 0.000 000 000 000 000 002 661 525 749 745 332 042 439 065 6;
  • 74) 0.000 000 000 000 000 002 661 525 749 745 332 042 439 065 6 × 2 = 0 + 0.000 000 000 000 000 005 323 051 499 490 664 084 878 131 2;
  • 75) 0.000 000 000 000 000 005 323 051 499 490 664 084 878 131 2 × 2 = 0 + 0.000 000 000 000 000 010 646 102 998 981 328 169 756 262 4;
  • 76) 0.000 000 000 000 000 010 646 102 998 981 328 169 756 262 4 × 2 = 0 + 0.000 000 000 000 000 021 292 205 997 962 656 339 512 524 8;
  • 77) 0.000 000 000 000 000 021 292 205 997 962 656 339 512 524 8 × 2 = 0 + 0.000 000 000 000 000 042 584 411 995 925 312 679 025 049 6;
  • 78) 0.000 000 000 000 000 042 584 411 995 925 312 679 025 049 6 × 2 = 0 + 0.000 000 000 000 000 085 168 823 991 850 625 358 050 099 2;
  • 79) 0.000 000 000 000 000 085 168 823 991 850 625 358 050 099 2 × 2 = 0 + 0.000 000 000 000 000 170 337 647 983 701 250 716 100 198 4;
  • 80) 0.000 000 000 000 000 170 337 647 983 701 250 716 100 198 4 × 2 = 0 + 0.000 000 000 000 000 340 675 295 967 402 501 432 200 396 8;
  • 81) 0.000 000 000 000 000 340 675 295 967 402 501 432 200 396 8 × 2 = 0 + 0.000 000 000 000 000 681 350 591 934 805 002 864 400 793 6;
  • 82) 0.000 000 000 000 000 681 350 591 934 805 002 864 400 793 6 × 2 = 0 + 0.000 000 000 000 001 362 701 183 869 610 005 728 801 587 2;
  • 83) 0.000 000 000 000 001 362 701 183 869 610 005 728 801 587 2 × 2 = 0 + 0.000 000 000 000 002 725 402 367 739 220 011 457 603 174 4;
  • 84) 0.000 000 000 000 002 725 402 367 739 220 011 457 603 174 4 × 2 = 0 + 0.000 000 000 000 005 450 804 735 478 440 022 915 206 348 8;
  • 85) 0.000 000 000 000 005 450 804 735 478 440 022 915 206 348 8 × 2 = 0 + 0.000 000 000 000 010 901 609 470 956 880 045 830 412 697 6;
  • 86) 0.000 000 000 000 010 901 609 470 956 880 045 830 412 697 6 × 2 = 0 + 0.000 000 000 000 021 803 218 941 913 760 091 660 825 395 2;
  • 87) 0.000 000 000 000 021 803 218 941 913 760 091 660 825 395 2 × 2 = 0 + 0.000 000 000 000 043 606 437 883 827 520 183 321 650 790 4;
  • 88) 0.000 000 000 000 043 606 437 883 827 520 183 321 650 790 4 × 2 = 0 + 0.000 000 000 000 087 212 875 767 655 040 366 643 301 580 8;
  • 89) 0.000 000 000 000 087 212 875 767 655 040 366 643 301 580 8 × 2 = 0 + 0.000 000 000 000 174 425 751 535 310 080 733 286 603 161 6;
  • 90) 0.000 000 000 000 174 425 751 535 310 080 733 286 603 161 6 × 2 = 0 + 0.000 000 000 000 348 851 503 070 620 161 466 573 206 323 2;
  • 91) 0.000 000 000 000 348 851 503 070 620 161 466 573 206 323 2 × 2 = 0 + 0.000 000 000 000 697 703 006 141 240 322 933 146 412 646 4;
  • 92) 0.000 000 000 000 697 703 006 141 240 322 933 146 412 646 4 × 2 = 0 + 0.000 000 000 001 395 406 012 282 480 645 866 292 825 292 8;
  • 93) 0.000 000 000 001 395 406 012 282 480 645 866 292 825 292 8 × 2 = 0 + 0.000 000 000 002 790 812 024 564 961 291 732 585 650 585 6;
  • 94) 0.000 000 000 002 790 812 024 564 961 291 732 585 650 585 6 × 2 = 0 + 0.000 000 000 005 581 624 049 129 922 583 465 171 301 171 2;
  • 95) 0.000 000 000 005 581 624 049 129 922 583 465 171 301 171 2 × 2 = 0 + 0.000 000 000 011 163 248 098 259 845 166 930 342 602 342 4;
  • 96) 0.000 000 000 011 163 248 098 259 845 166 930 342 602 342 4 × 2 = 0 + 0.000 000 000 022 326 496 196 519 690 333 860 685 204 684 8;
  • 97) 0.000 000 000 022 326 496 196 519 690 333 860 685 204 684 8 × 2 = 0 + 0.000 000 000 044 652 992 393 039 380 667 721 370 409 369 6;
  • 98) 0.000 000 000 044 652 992 393 039 380 667 721 370 409 369 6 × 2 = 0 + 0.000 000 000 089 305 984 786 078 761 335 442 740 818 739 2;
  • 99) 0.000 000 000 089 305 984 786 078 761 335 442 740 818 739 2 × 2 = 0 + 0.000 000 000 178 611 969 572 157 522 670 885 481 637 478 4;
  • 100) 0.000 000 000 178 611 969 572 157 522 670 885 481 637 478 4 × 2 = 0 + 0.000 000 000 357 223 939 144 315 045 341 770 963 274 956 8;
  • 101) 0.000 000 000 357 223 939 144 315 045 341 770 963 274 956 8 × 2 = 0 + 0.000 000 000 714 447 878 288 630 090 683 541 926 549 913 6;
  • 102) 0.000 000 000 714 447 878 288 630 090 683 541 926 549 913 6 × 2 = 0 + 0.000 000 001 428 895 756 577 260 181 367 083 853 099 827 2;
  • 103) 0.000 000 001 428 895 756 577 260 181 367 083 853 099 827 2 × 2 = 0 + 0.000 000 002 857 791 513 154 520 362 734 167 706 199 654 4;
  • 104) 0.000 000 002 857 791 513 154 520 362 734 167 706 199 654 4 × 2 = 0 + 0.000 000 005 715 583 026 309 040 725 468 335 412 399 308 8;
  • 105) 0.000 000 005 715 583 026 309 040 725 468 335 412 399 308 8 × 2 = 0 + 0.000 000 011 431 166 052 618 081 450 936 670 824 798 617 6;
  • 106) 0.000 000 011 431 166 052 618 081 450 936 670 824 798 617 6 × 2 = 0 + 0.000 000 022 862 332 105 236 162 901 873 341 649 597 235 2;
  • 107) 0.000 000 022 862 332 105 236 162 901 873 341 649 597 235 2 × 2 = 0 + 0.000 000 045 724 664 210 472 325 803 746 683 299 194 470 4;
  • 108) 0.000 000 045 724 664 210 472 325 803 746 683 299 194 470 4 × 2 = 0 + 0.000 000 091 449 328 420 944 651 607 493 366 598 388 940 8;
  • 109) 0.000 000 091 449 328 420 944 651 607 493 366 598 388 940 8 × 2 = 0 + 0.000 000 182 898 656 841 889 303 214 986 733 196 777 881 6;
  • 110) 0.000 000 182 898 656 841 889 303 214 986 733 196 777 881 6 × 2 = 0 + 0.000 000 365 797 313 683 778 606 429 973 466 393 555 763 2;
  • 111) 0.000 000 365 797 313 683 778 606 429 973 466 393 555 763 2 × 2 = 0 + 0.000 000 731 594 627 367 557 212 859 946 932 787 111 526 4;
  • 112) 0.000 000 731 594 627 367 557 212 859 946 932 787 111 526 4 × 2 = 0 + 0.000 001 463 189 254 735 114 425 719 893 865 574 223 052 8;
  • 113) 0.000 001 463 189 254 735 114 425 719 893 865 574 223 052 8 × 2 = 0 + 0.000 002 926 378 509 470 228 851 439 787 731 148 446 105 6;
  • 114) 0.000 002 926 378 509 470 228 851 439 787 731 148 446 105 6 × 2 = 0 + 0.000 005 852 757 018 940 457 702 879 575 462 296 892 211 2;
  • 115) 0.000 005 852 757 018 940 457 702 879 575 462 296 892 211 2 × 2 = 0 + 0.000 011 705 514 037 880 915 405 759 150 924 593 784 422 4;
  • 116) 0.000 011 705 514 037 880 915 405 759 150 924 593 784 422 4 × 2 = 0 + 0.000 023 411 028 075 761 830 811 518 301 849 187 568 844 8;
  • 117) 0.000 023 411 028 075 761 830 811 518 301 849 187 568 844 8 × 2 = 0 + 0.000 046 822 056 151 523 661 623 036 603 698 375 137 689 6;
  • 118) 0.000 046 822 056 151 523 661 623 036 603 698 375 137 689 6 × 2 = 0 + 0.000 093 644 112 303 047 323 246 073 207 396 750 275 379 2;
  • 119) 0.000 093 644 112 303 047 323 246 073 207 396 750 275 379 2 × 2 = 0 + 0.000 187 288 224 606 094 646 492 146 414 793 500 550 758 4;
  • 120) 0.000 187 288 224 606 094 646 492 146 414 793 500 550 758 4 × 2 = 0 + 0.000 374 576 449 212 189 292 984 292 829 587 001 101 516 8;
  • 121) 0.000 374 576 449 212 189 292 984 292 829 587 001 101 516 8 × 2 = 0 + 0.000 749 152 898 424 378 585 968 585 659 174 002 203 033 6;
  • 122) 0.000 749 152 898 424 378 585 968 585 659 174 002 203 033 6 × 2 = 0 + 0.001 498 305 796 848 757 171 937 171 318 348 004 406 067 2;
  • 123) 0.001 498 305 796 848 757 171 937 171 318 348 004 406 067 2 × 2 = 0 + 0.002 996 611 593 697 514 343 874 342 636 696 008 812 134 4;
  • 124) 0.002 996 611 593 697 514 343 874 342 636 696 008 812 134 4 × 2 = 0 + 0.005 993 223 187 395 028 687 748 685 273 392 017 624 268 8;
  • 125) 0.005 993 223 187 395 028 687 748 685 273 392 017 624 268 8 × 2 = 0 + 0.011 986 446 374 790 057 375 497 370 546 784 035 248 537 6;
  • 126) 0.011 986 446 374 790 057 375 497 370 546 784 035 248 537 6 × 2 = 0 + 0.023 972 892 749 580 114 750 994 741 093 568 070 497 075 2;
  • 127) 0.023 972 892 749 580 114 750 994 741 093 568 070 497 075 2 × 2 = 0 + 0.047 945 785 499 160 229 501 989 482 187 136 140 994 150 4;
  • 128) 0.047 945 785 499 160 229 501 989 482 187 136 140 994 150 4 × 2 = 0 + 0.095 891 570 998 320 459 003 978 964 374 272 281 988 300 8;
  • 129) 0.095 891 570 998 320 459 003 978 964 374 272 281 988 300 8 × 2 = 0 + 0.191 783 141 996 640 918 007 957 928 748 544 563 976 601 6;
  • 130) 0.191 783 141 996 640 918 007 957 928 748 544 563 976 601 6 × 2 = 0 + 0.383 566 283 993 281 836 015 915 857 497 089 127 953 203 2;
  • 131) 0.383 566 283 993 281 836 015 915 857 497 089 127 953 203 2 × 2 = 0 + 0.767 132 567 986 563 672 031 831 714 994 178 255 906 406 4;
  • 132) 0.767 132 567 986 563 672 031 831 714 994 178 255 906 406 4 × 2 = 1 + 0.534 265 135 973 127 344 063 663 429 988 356 511 812 812 8;
  • 133) 0.534 265 135 973 127 344 063 663 429 988 356 511 812 812 8 × 2 = 1 + 0.068 530 271 946 254 688 127 326 859 976 713 023 625 625 6;
  • 134) 0.068 530 271 946 254 688 127 326 859 976 713 023 625 625 6 × 2 = 0 + 0.137 060 543 892 509 376 254 653 719 953 426 047 251 251 2;
  • 135) 0.137 060 543 892 509 376 254 653 719 953 426 047 251 251 2 × 2 = 0 + 0.274 121 087 785 018 752 509 307 439 906 852 094 502 502 4;
  • 136) 0.274 121 087 785 018 752 509 307 439 906 852 094 502 502 4 × 2 = 0 + 0.548 242 175 570 037 505 018 614 879 813 704 189 005 004 8;
  • 137) 0.548 242 175 570 037 505 018 614 879 813 704 189 005 004 8 × 2 = 1 + 0.096 484 351 140 075 010 037 229 759 627 408 378 010 009 6;
  • 138) 0.096 484 351 140 075 010 037 229 759 627 408 378 010 009 6 × 2 = 0 + 0.192 968 702 280 150 020 074 459 519 254 816 756 020 019 2;
  • 139) 0.192 968 702 280 150 020 074 459 519 254 816 756 020 019 2 × 2 = 0 + 0.385 937 404 560 300 040 148 919 038 509 633 512 040 038 4;
  • 140) 0.385 937 404 560 300 040 148 919 038 509 633 512 040 038 4 × 2 = 0 + 0.771 874 809 120 600 080 297 838 077 019 267 024 080 076 8;
  • 141) 0.771 874 809 120 600 080 297 838 077 019 267 024 080 076 8 × 2 = 1 + 0.543 749 618 241 200 160 595 676 154 038 534 048 160 153 6;
  • 142) 0.543 749 618 241 200 160 595 676 154 038 534 048 160 153 6 × 2 = 1 + 0.087 499 236 482 400 321 191 352 308 077 068 096 320 307 2;
  • 143) 0.087 499 236 482 400 321 191 352 308 077 068 096 320 307 2 × 2 = 0 + 0.174 998 472 964 800 642 382 704 616 154 136 192 640 614 4;
  • 144) 0.174 998 472 964 800 642 382 704 616 154 136 192 640 614 4 × 2 = 0 + 0.349 996 945 929 601 284 765 409 232 308 272 385 281 228 8;
  • 145) 0.349 996 945 929 601 284 765 409 232 308 272 385 281 228 8 × 2 = 0 + 0.699 993 891 859 202 569 530 818 464 616 544 770 562 457 6;
  • 146) 0.699 993 891 859 202 569 530 818 464 616 544 770 562 457 6 × 2 = 1 + 0.399 987 783 718 405 139 061 636 929 233 089 541 124 915 2;
  • 147) 0.399 987 783 718 405 139 061 636 929 233 089 541 124 915 2 × 2 = 0 + 0.799 975 567 436 810 278 123 273 858 466 179 082 249 830 4;
  • 148) 0.799 975 567 436 810 278 123 273 858 466 179 082 249 830 4 × 2 = 1 + 0.599 951 134 873 620 556 246 547 716 932 358 164 499 660 8;
  • 149) 0.599 951 134 873 620 556 246 547 716 932 358 164 499 660 8 × 2 = 1 + 0.199 902 269 747 241 112 493 095 433 864 716 328 999 321 6;
  • 150) 0.199 902 269 747 241 112 493 095 433 864 716 328 999 321 6 × 2 = 0 + 0.399 804 539 494 482 224 986 190 867 729 432 657 998 643 2;
  • 151) 0.399 804 539 494 482 224 986 190 867 729 432 657 998 643 2 × 2 = 0 + 0.799 609 078 988 964 449 972 381 735 458 865 315 997 286 4;
  • 152) 0.799 609 078 988 964 449 972 381 735 458 865 315 997 286 4 × 2 = 1 + 0.599 218 157 977 928 899 944 763 470 917 730 631 994 572 8;
  • 153) 0.599 218 157 977 928 899 944 763 470 917 730 631 994 572 8 × 2 = 1 + 0.198 436 315 955 857 799 889 526 941 835 461 263 989 145 6;
  • 154) 0.198 436 315 955 857 799 889 526 941 835 461 263 989 145 6 × 2 = 0 + 0.396 872 631 911 715 599 779 053 883 670 922 527 978 291 2;
  • 155) 0.396 872 631 911 715 599 779 053 883 670 922 527 978 291 2 × 2 = 0 + 0.793 745 263 823 431 199 558 107 767 341 845 055 956 582 4;

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 000 281 8(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 0001 1000 1000 1100 0101 1001 100(2)

6. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 000 000 281 8(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 0001 1000 1000 1100 0101 1001 100(2)

7. Normalize the binary representation of the number.

Shift the decimal mark 132 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 000 281 8(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 0001 1000 1000 1100 0101 1001 100(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 0001 1000 1000 1100 0101 1001 100(2) × 20 =


1.1000 1000 1100 0101 1001 100(2) × 2-132


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


Mantissa (not normalized):
1.1000 1000 1100 0101 1001 100


9. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


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


(-132 + 127)(10) =


-5(10)


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


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


12. 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 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 000 281 8 converted to 32 bit single precision IEEE 754 binary floating point representation:

1 - 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