-0.000 000 000 000 000 000 000 000 000 000 000 000 006 976 42 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 006 976 42(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 006 976 42(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 006 976 42| = 0.000 000 000 000 000 000 000 000 000 000 000 000 006 976 42


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 006 976 42.

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 006 976 42 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 013 952 84;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 000 013 952 84 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 027 905 68;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 000 027 905 68 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 055 811 36;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 000 055 811 36 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 111 622 72;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 000 111 622 72 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 223 245 44;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 000 223 245 44 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 446 490 88;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 000 446 490 88 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 892 981 76;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 000 892 981 76 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 001 785 963 52;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 000 001 785 963 52 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 003 571 927 04;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 000 003 571 927 04 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 007 143 854 08;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 000 007 143 854 08 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 014 287 708 16;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 000 014 287 708 16 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 028 575 416 32;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 000 028 575 416 32 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 057 150 832 64;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 000 057 150 832 64 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 114 301 665 28;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 000 114 301 665 28 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 228 603 330 56;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 000 228 603 330 56 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 457 206 661 12;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 000 457 206 661 12 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 914 413 322 24;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 000 914 413 322 24 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 828 826 644 48;
  • 19) 0.000 000 000 000 000 000 000 000 000 000 001 828 826 644 48 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 003 657 653 288 96;
  • 20) 0.000 000 000 000 000 000 000 000 000 000 003 657 653 288 96 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 007 315 306 577 92;
  • 21) 0.000 000 000 000 000 000 000 000 000 000 007 315 306 577 92 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 014 630 613 155 84;
  • 22) 0.000 000 000 000 000 000 000 000 000 000 014 630 613 155 84 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 029 261 226 311 68;
  • 23) 0.000 000 000 000 000 000 000 000 000 000 029 261 226 311 68 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 058 522 452 623 36;
  • 24) 0.000 000 000 000 000 000 000 000 000 000 058 522 452 623 36 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 117 044 905 246 72;
  • 25) 0.000 000 000 000 000 000 000 000 000 000 117 044 905 246 72 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 234 089 810 493 44;
  • 26) 0.000 000 000 000 000 000 000 000 000 000 234 089 810 493 44 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 468 179 620 986 88;
  • 27) 0.000 000 000 000 000 000 000 000 000 000 468 179 620 986 88 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 936 359 241 973 76;
  • 28) 0.000 000 000 000 000 000 000 000 000 000 936 359 241 973 76 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 872 718 483 947 52;
  • 29) 0.000 000 000 000 000 000 000 000 000 001 872 718 483 947 52 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 003 745 436 967 895 04;
  • 30) 0.000 000 000 000 000 000 000 000 000 003 745 436 967 895 04 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 007 490 873 935 790 08;
  • 31) 0.000 000 000 000 000 000 000 000 000 007 490 873 935 790 08 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 014 981 747 871 580 16;
  • 32) 0.000 000 000 000 000 000 000 000 000 014 981 747 871 580 16 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 029 963 495 743 160 32;
  • 33) 0.000 000 000 000 000 000 000 000 000 029 963 495 743 160 32 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 059 926 991 486 320 64;
  • 34) 0.000 000 000 000 000 000 000 000 000 059 926 991 486 320 64 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 119 853 982 972 641 28;
  • 35) 0.000 000 000 000 000 000 000 000 000 119 853 982 972 641 28 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 239 707 965 945 282 56;
  • 36) 0.000 000 000 000 000 000 000 000 000 239 707 965 945 282 56 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 479 415 931 890 565 12;
  • 37) 0.000 000 000 000 000 000 000 000 000 479 415 931 890 565 12 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 958 831 863 781 130 24;
  • 38) 0.000 000 000 000 000 000 000 000 000 958 831 863 781 130 24 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 917 663 727 562 260 48;
  • 39) 0.000 000 000 000 000 000 000 000 001 917 663 727 562 260 48 × 2 = 0 + 0.000 000 000 000 000 000 000 000 003 835 327 455 124 520 96;
  • 40) 0.000 000 000 000 000 000 000 000 003 835 327 455 124 520 96 × 2 = 0 + 0.000 000 000 000 000 000 000 000 007 670 654 910 249 041 92;
  • 41) 0.000 000 000 000 000 000 000 000 007 670 654 910 249 041 92 × 2 = 0 + 0.000 000 000 000 000 000 000 000 015 341 309 820 498 083 84;
  • 42) 0.000 000 000 000 000 000 000 000 015 341 309 820 498 083 84 × 2 = 0 + 0.000 000 000 000 000 000 000 000 030 682 619 640 996 167 68;
  • 43) 0.000 000 000 000 000 000 000 000 030 682 619 640 996 167 68 × 2 = 0 + 0.000 000 000 000 000 000 000 000 061 365 239 281 992 335 36;
  • 44) 0.000 000 000 000 000 000 000 000 061 365 239 281 992 335 36 × 2 = 0 + 0.000 000 000 000 000 000 000 000 122 730 478 563 984 670 72;
  • 45) 0.000 000 000 000 000 000 000 000 122 730 478 563 984 670 72 × 2 = 0 + 0.000 000 000 000 000 000 000 000 245 460 957 127 969 341 44;
  • 46) 0.000 000 000 000 000 000 000 000 245 460 957 127 969 341 44 × 2 = 0 + 0.000 000 000 000 000 000 000 000 490 921 914 255 938 682 88;
  • 47) 0.000 000 000 000 000 000 000 000 490 921 914 255 938 682 88 × 2 = 0 + 0.000 000 000 000 000 000 000 000 981 843 828 511 877 365 76;
  • 48) 0.000 000 000 000 000 000 000 000 981 843 828 511 877 365 76 × 2 = 0 + 0.000 000 000 000 000 000 000 001 963 687 657 023 754 731 52;
  • 49) 0.000 000 000 000 000 000 000 001 963 687 657 023 754 731 52 × 2 = 0 + 0.000 000 000 000 000 000 000 003 927 375 314 047 509 463 04;
  • 50) 0.000 000 000 000 000 000 000 003 927 375 314 047 509 463 04 × 2 = 0 + 0.000 000 000 000 000 000 000 007 854 750 628 095 018 926 08;
  • 51) 0.000 000 000 000 000 000 000 007 854 750 628 095 018 926 08 × 2 = 0 + 0.000 000 000 000 000 000 000 015 709 501 256 190 037 852 16;
  • 52) 0.000 000 000 000 000 000 000 015 709 501 256 190 037 852 16 × 2 = 0 + 0.000 000 000 000 000 000 000 031 419 002 512 380 075 704 32;
  • 53) 0.000 000 000 000 000 000 000 031 419 002 512 380 075 704 32 × 2 = 0 + 0.000 000 000 000 000 000 000 062 838 005 024 760 151 408 64;
  • 54) 0.000 000 000 000 000 000 000 062 838 005 024 760 151 408 64 × 2 = 0 + 0.000 000 000 000 000 000 000 125 676 010 049 520 302 817 28;
  • 55) 0.000 000 000 000 000 000 000 125 676 010 049 520 302 817 28 × 2 = 0 + 0.000 000 000 000 000 000 000 251 352 020 099 040 605 634 56;
  • 56) 0.000 000 000 000 000 000 000 251 352 020 099 040 605 634 56 × 2 = 0 + 0.000 000 000 000 000 000 000 502 704 040 198 081 211 269 12;
  • 57) 0.000 000 000 000 000 000 000 502 704 040 198 081 211 269 12 × 2 = 0 + 0.000 000 000 000 000 000 001 005 408 080 396 162 422 538 24;
  • 58) 0.000 000 000 000 000 000 001 005 408 080 396 162 422 538 24 × 2 = 0 + 0.000 000 000 000 000 000 002 010 816 160 792 324 845 076 48;
  • 59) 0.000 000 000 000 000 000 002 010 816 160 792 324 845 076 48 × 2 = 0 + 0.000 000 000 000 000 000 004 021 632 321 584 649 690 152 96;
  • 60) 0.000 000 000 000 000 000 004 021 632 321 584 649 690 152 96 × 2 = 0 + 0.000 000 000 000 000 000 008 043 264 643 169 299 380 305 92;
  • 61) 0.000 000 000 000 000 000 008 043 264 643 169 299 380 305 92 × 2 = 0 + 0.000 000 000 000 000 000 016 086 529 286 338 598 760 611 84;
  • 62) 0.000 000 000 000 000 000 016 086 529 286 338 598 760 611 84 × 2 = 0 + 0.000 000 000 000 000 000 032 173 058 572 677 197 521 223 68;
  • 63) 0.000 000 000 000 000 000 032 173 058 572 677 197 521 223 68 × 2 = 0 + 0.000 000 000 000 000 000 064 346 117 145 354 395 042 447 36;
  • 64) 0.000 000 000 000 000 000 064 346 117 145 354 395 042 447 36 × 2 = 0 + 0.000 000 000 000 000 000 128 692 234 290 708 790 084 894 72;
  • 65) 0.000 000 000 000 000 000 128 692 234 290 708 790 084 894 72 × 2 = 0 + 0.000 000 000 000 000 000 257 384 468 581 417 580 169 789 44;
  • 66) 0.000 000 000 000 000 000 257 384 468 581 417 580 169 789 44 × 2 = 0 + 0.000 000 000 000 000 000 514 768 937 162 835 160 339 578 88;
  • 67) 0.000 000 000 000 000 000 514 768 937 162 835 160 339 578 88 × 2 = 0 + 0.000 000 000 000 000 001 029 537 874 325 670 320 679 157 76;
  • 68) 0.000 000 000 000 000 001 029 537 874 325 670 320 679 157 76 × 2 = 0 + 0.000 000 000 000 000 002 059 075 748 651 340 641 358 315 52;
  • 69) 0.000 000 000 000 000 002 059 075 748 651 340 641 358 315 52 × 2 = 0 + 0.000 000 000 000 000 004 118 151 497 302 681 282 716 631 04;
  • 70) 0.000 000 000 000 000 004 118 151 497 302 681 282 716 631 04 × 2 = 0 + 0.000 000 000 000 000 008 236 302 994 605 362 565 433 262 08;
  • 71) 0.000 000 000 000 000 008 236 302 994 605 362 565 433 262 08 × 2 = 0 + 0.000 000 000 000 000 016 472 605 989 210 725 130 866 524 16;
  • 72) 0.000 000 000 000 000 016 472 605 989 210 725 130 866 524 16 × 2 = 0 + 0.000 000 000 000 000 032 945 211 978 421 450 261 733 048 32;
  • 73) 0.000 000 000 000 000 032 945 211 978 421 450 261 733 048 32 × 2 = 0 + 0.000 000 000 000 000 065 890 423 956 842 900 523 466 096 64;
  • 74) 0.000 000 000 000 000 065 890 423 956 842 900 523 466 096 64 × 2 = 0 + 0.000 000 000 000 000 131 780 847 913 685 801 046 932 193 28;
  • 75) 0.000 000 000 000 000 131 780 847 913 685 801 046 932 193 28 × 2 = 0 + 0.000 000 000 000 000 263 561 695 827 371 602 093 864 386 56;
  • 76) 0.000 000 000 000 000 263 561 695 827 371 602 093 864 386 56 × 2 = 0 + 0.000 000 000 000 000 527 123 391 654 743 204 187 728 773 12;
  • 77) 0.000 000 000 000 000 527 123 391 654 743 204 187 728 773 12 × 2 = 0 + 0.000 000 000 000 001 054 246 783 309 486 408 375 457 546 24;
  • 78) 0.000 000 000 000 001 054 246 783 309 486 408 375 457 546 24 × 2 = 0 + 0.000 000 000 000 002 108 493 566 618 972 816 750 915 092 48;
  • 79) 0.000 000 000 000 002 108 493 566 618 972 816 750 915 092 48 × 2 = 0 + 0.000 000 000 000 004 216 987 133 237 945 633 501 830 184 96;
  • 80) 0.000 000 000 000 004 216 987 133 237 945 633 501 830 184 96 × 2 = 0 + 0.000 000 000 000 008 433 974 266 475 891 267 003 660 369 92;
  • 81) 0.000 000 000 000 008 433 974 266 475 891 267 003 660 369 92 × 2 = 0 + 0.000 000 000 000 016 867 948 532 951 782 534 007 320 739 84;
  • 82) 0.000 000 000 000 016 867 948 532 951 782 534 007 320 739 84 × 2 = 0 + 0.000 000 000 000 033 735 897 065 903 565 068 014 641 479 68;
  • 83) 0.000 000 000 000 033 735 897 065 903 565 068 014 641 479 68 × 2 = 0 + 0.000 000 000 000 067 471 794 131 807 130 136 029 282 959 36;
  • 84) 0.000 000 000 000 067 471 794 131 807 130 136 029 282 959 36 × 2 = 0 + 0.000 000 000 000 134 943 588 263 614 260 272 058 565 918 72;
  • 85) 0.000 000 000 000 134 943 588 263 614 260 272 058 565 918 72 × 2 = 0 + 0.000 000 000 000 269 887 176 527 228 520 544 117 131 837 44;
  • 86) 0.000 000 000 000 269 887 176 527 228 520 544 117 131 837 44 × 2 = 0 + 0.000 000 000 000 539 774 353 054 457 041 088 234 263 674 88;
  • 87) 0.000 000 000 000 539 774 353 054 457 041 088 234 263 674 88 × 2 = 0 + 0.000 000 000 001 079 548 706 108 914 082 176 468 527 349 76;
  • 88) 0.000 000 000 001 079 548 706 108 914 082 176 468 527 349 76 × 2 = 0 + 0.000 000 000 002 159 097 412 217 828 164 352 937 054 699 52;
  • 89) 0.000 000 000 002 159 097 412 217 828 164 352 937 054 699 52 × 2 = 0 + 0.000 000 000 004 318 194 824 435 656 328 705 874 109 399 04;
  • 90) 0.000 000 000 004 318 194 824 435 656 328 705 874 109 399 04 × 2 = 0 + 0.000 000 000 008 636 389 648 871 312 657 411 748 218 798 08;
  • 91) 0.000 000 000 008 636 389 648 871 312 657 411 748 218 798 08 × 2 = 0 + 0.000 000 000 017 272 779 297 742 625 314 823 496 437 596 16;
  • 92) 0.000 000 000 017 272 779 297 742 625 314 823 496 437 596 16 × 2 = 0 + 0.000 000 000 034 545 558 595 485 250 629 646 992 875 192 32;
  • 93) 0.000 000 000 034 545 558 595 485 250 629 646 992 875 192 32 × 2 = 0 + 0.000 000 000 069 091 117 190 970 501 259 293 985 750 384 64;
  • 94) 0.000 000 000 069 091 117 190 970 501 259 293 985 750 384 64 × 2 = 0 + 0.000 000 000 138 182 234 381 941 002 518 587 971 500 769 28;
  • 95) 0.000 000 000 138 182 234 381 941 002 518 587 971 500 769 28 × 2 = 0 + 0.000 000 000 276 364 468 763 882 005 037 175 943 001 538 56;
  • 96) 0.000 000 000 276 364 468 763 882 005 037 175 943 001 538 56 × 2 = 0 + 0.000 000 000 552 728 937 527 764 010 074 351 886 003 077 12;
  • 97) 0.000 000 000 552 728 937 527 764 010 074 351 886 003 077 12 × 2 = 0 + 0.000 000 001 105 457 875 055 528 020 148 703 772 006 154 24;
  • 98) 0.000 000 001 105 457 875 055 528 020 148 703 772 006 154 24 × 2 = 0 + 0.000 000 002 210 915 750 111 056 040 297 407 544 012 308 48;
  • 99) 0.000 000 002 210 915 750 111 056 040 297 407 544 012 308 48 × 2 = 0 + 0.000 000 004 421 831 500 222 112 080 594 815 088 024 616 96;
  • 100) 0.000 000 004 421 831 500 222 112 080 594 815 088 024 616 96 × 2 = 0 + 0.000 000 008 843 663 000 444 224 161 189 630 176 049 233 92;
  • 101) 0.000 000 008 843 663 000 444 224 161 189 630 176 049 233 92 × 2 = 0 + 0.000 000 017 687 326 000 888 448 322 379 260 352 098 467 84;
  • 102) 0.000 000 017 687 326 000 888 448 322 379 260 352 098 467 84 × 2 = 0 + 0.000 000 035 374 652 001 776 896 644 758 520 704 196 935 68;
  • 103) 0.000 000 035 374 652 001 776 896 644 758 520 704 196 935 68 × 2 = 0 + 0.000 000 070 749 304 003 553 793 289 517 041 408 393 871 36;
  • 104) 0.000 000 070 749 304 003 553 793 289 517 041 408 393 871 36 × 2 = 0 + 0.000 000 141 498 608 007 107 586 579 034 082 816 787 742 72;
  • 105) 0.000 000 141 498 608 007 107 586 579 034 082 816 787 742 72 × 2 = 0 + 0.000 000 282 997 216 014 215 173 158 068 165 633 575 485 44;
  • 106) 0.000 000 282 997 216 014 215 173 158 068 165 633 575 485 44 × 2 = 0 + 0.000 000 565 994 432 028 430 346 316 136 331 267 150 970 88;
  • 107) 0.000 000 565 994 432 028 430 346 316 136 331 267 150 970 88 × 2 = 0 + 0.000 001 131 988 864 056 860 692 632 272 662 534 301 941 76;
  • 108) 0.000 001 131 988 864 056 860 692 632 272 662 534 301 941 76 × 2 = 0 + 0.000 002 263 977 728 113 721 385 264 545 325 068 603 883 52;
  • 109) 0.000 002 263 977 728 113 721 385 264 545 325 068 603 883 52 × 2 = 0 + 0.000 004 527 955 456 227 442 770 529 090 650 137 207 767 04;
  • 110) 0.000 004 527 955 456 227 442 770 529 090 650 137 207 767 04 × 2 = 0 + 0.000 009 055 910 912 454 885 541 058 181 300 274 415 534 08;
  • 111) 0.000 009 055 910 912 454 885 541 058 181 300 274 415 534 08 × 2 = 0 + 0.000 018 111 821 824 909 771 082 116 362 600 548 831 068 16;
  • 112) 0.000 018 111 821 824 909 771 082 116 362 600 548 831 068 16 × 2 = 0 + 0.000 036 223 643 649 819 542 164 232 725 201 097 662 136 32;
  • 113) 0.000 036 223 643 649 819 542 164 232 725 201 097 662 136 32 × 2 = 0 + 0.000 072 447 287 299 639 084 328 465 450 402 195 324 272 64;
  • 114) 0.000 072 447 287 299 639 084 328 465 450 402 195 324 272 64 × 2 = 0 + 0.000 144 894 574 599 278 168 656 930 900 804 390 648 545 28;
  • 115) 0.000 144 894 574 599 278 168 656 930 900 804 390 648 545 28 × 2 = 0 + 0.000 289 789 149 198 556 337 313 861 801 608 781 297 090 56;
  • 116) 0.000 289 789 149 198 556 337 313 861 801 608 781 297 090 56 × 2 = 0 + 0.000 579 578 298 397 112 674 627 723 603 217 562 594 181 12;
  • 117) 0.000 579 578 298 397 112 674 627 723 603 217 562 594 181 12 × 2 = 0 + 0.001 159 156 596 794 225 349 255 447 206 435 125 188 362 24;
  • 118) 0.001 159 156 596 794 225 349 255 447 206 435 125 188 362 24 × 2 = 0 + 0.002 318 313 193 588 450 698 510 894 412 870 250 376 724 48;
  • 119) 0.002 318 313 193 588 450 698 510 894 412 870 250 376 724 48 × 2 = 0 + 0.004 636 626 387 176 901 397 021 788 825 740 500 753 448 96;
  • 120) 0.004 636 626 387 176 901 397 021 788 825 740 500 753 448 96 × 2 = 0 + 0.009 273 252 774 353 802 794 043 577 651 481 001 506 897 92;
  • 121) 0.009 273 252 774 353 802 794 043 577 651 481 001 506 897 92 × 2 = 0 + 0.018 546 505 548 707 605 588 087 155 302 962 003 013 795 84;
  • 122) 0.018 546 505 548 707 605 588 087 155 302 962 003 013 795 84 × 2 = 0 + 0.037 093 011 097 415 211 176 174 310 605 924 006 027 591 68;
  • 123) 0.037 093 011 097 415 211 176 174 310 605 924 006 027 591 68 × 2 = 0 + 0.074 186 022 194 830 422 352 348 621 211 848 012 055 183 36;
  • 124) 0.074 186 022 194 830 422 352 348 621 211 848 012 055 183 36 × 2 = 0 + 0.148 372 044 389 660 844 704 697 242 423 696 024 110 366 72;
  • 125) 0.148 372 044 389 660 844 704 697 242 423 696 024 110 366 72 × 2 = 0 + 0.296 744 088 779 321 689 409 394 484 847 392 048 220 733 44;
  • 126) 0.296 744 088 779 321 689 409 394 484 847 392 048 220 733 44 × 2 = 0 + 0.593 488 177 558 643 378 818 788 969 694 784 096 441 466 88;
  • 127) 0.593 488 177 558 643 378 818 788 969 694 784 096 441 466 88 × 2 = 1 + 0.186 976 355 117 286 757 637 577 939 389 568 192 882 933 76;
  • 128) 0.186 976 355 117 286 757 637 577 939 389 568 192 882 933 76 × 2 = 0 + 0.373 952 710 234 573 515 275 155 878 779 136 385 765 867 52;
  • 129) 0.373 952 710 234 573 515 275 155 878 779 136 385 765 867 52 × 2 = 0 + 0.747 905 420 469 147 030 550 311 757 558 272 771 531 735 04;
  • 130) 0.747 905 420 469 147 030 550 311 757 558 272 771 531 735 04 × 2 = 1 + 0.495 810 840 938 294 061 100 623 515 116 545 543 063 470 08;
  • 131) 0.495 810 840 938 294 061 100 623 515 116 545 543 063 470 08 × 2 = 0 + 0.991 621 681 876 588 122 201 247 030 233 091 086 126 940 16;
  • 132) 0.991 621 681 876 588 122 201 247 030 233 091 086 126 940 16 × 2 = 1 + 0.983 243 363 753 176 244 402 494 060 466 182 172 253 880 32;
  • 133) 0.983 243 363 753 176 244 402 494 060 466 182 172 253 880 32 × 2 = 1 + 0.966 486 727 506 352 488 804 988 120 932 364 344 507 760 64;
  • 134) 0.966 486 727 506 352 488 804 988 120 932 364 344 507 760 64 × 2 = 1 + 0.932 973 455 012 704 977 609 976 241 864 728 689 015 521 28;
  • 135) 0.932 973 455 012 704 977 609 976 241 864 728 689 015 521 28 × 2 = 1 + 0.865 946 910 025 409 955 219 952 483 729 457 378 031 042 56;
  • 136) 0.865 946 910 025 409 955 219 952 483 729 457 378 031 042 56 × 2 = 1 + 0.731 893 820 050 819 910 439 904 967 458 914 756 062 085 12;
  • 137) 0.731 893 820 050 819 910 439 904 967 458 914 756 062 085 12 × 2 = 1 + 0.463 787 640 101 639 820 879 809 934 917 829 512 124 170 24;
  • 138) 0.463 787 640 101 639 820 879 809 934 917 829 512 124 170 24 × 2 = 0 + 0.927 575 280 203 279 641 759 619 869 835 659 024 248 340 48;
  • 139) 0.927 575 280 203 279 641 759 619 869 835 659 024 248 340 48 × 2 = 1 + 0.855 150 560 406 559 283 519 239 739 671 318 048 496 680 96;
  • 140) 0.855 150 560 406 559 283 519 239 739 671 318 048 496 680 96 × 2 = 1 + 0.710 301 120 813 118 567 038 479 479 342 636 096 993 361 92;
  • 141) 0.710 301 120 813 118 567 038 479 479 342 636 096 993 361 92 × 2 = 1 + 0.420 602 241 626 237 134 076 958 958 685 272 193 986 723 84;
  • 142) 0.420 602 241 626 237 134 076 958 958 685 272 193 986 723 84 × 2 = 0 + 0.841 204 483 252 474 268 153 917 917 370 544 387 973 447 68;
  • 143) 0.841 204 483 252 474 268 153 917 917 370 544 387 973 447 68 × 2 = 1 + 0.682 408 966 504 948 536 307 835 834 741 088 775 946 895 36;
  • 144) 0.682 408 966 504 948 536 307 835 834 741 088 775 946 895 36 × 2 = 1 + 0.364 817 933 009 897 072 615 671 669 482 177 551 893 790 72;
  • 145) 0.364 817 933 009 897 072 615 671 669 482 177 551 893 790 72 × 2 = 0 + 0.729 635 866 019 794 145 231 343 338 964 355 103 787 581 44;
  • 146) 0.729 635 866 019 794 145 231 343 338 964 355 103 787 581 44 × 2 = 1 + 0.459 271 732 039 588 290 462 686 677 928 710 207 575 162 88;
  • 147) 0.459 271 732 039 588 290 462 686 677 928 710 207 575 162 88 × 2 = 0 + 0.918 543 464 079 176 580 925 373 355 857 420 415 150 325 76;
  • 148) 0.918 543 464 079 176 580 925 373 355 857 420 415 150 325 76 × 2 = 1 + 0.837 086 928 158 353 161 850 746 711 714 840 830 300 651 52;
  • 149) 0.837 086 928 158 353 161 850 746 711 714 840 830 300 651 52 × 2 = 1 + 0.674 173 856 316 706 323 701 493 423 429 681 660 601 303 04;
  • 150) 0.674 173 856 316 706 323 701 493 423 429 681 660 601 303 04 × 2 = 1 + 0.348 347 712 633 412 647 402 986 846 859 363 321 202 606 08;

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 006 976 42(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 0010 0101 1111 1011 1011 0101 11(2)

6. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 000 006 976 42(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 0010 0101 1111 1011 1011 0101 11(2)

7. Normalize the binary representation of the number.

Shift the decimal mark 127 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 006 976 42(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 0010 0101 1111 1011 1011 0101 11(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 0010 0101 1111 1011 1011 0101 11(2) × 20 =


1.0010 1111 1101 1101 1010 111(2) × 2-127


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


Mantissa (not normalized):
1.0010 1111 1101 1101 1010 111


9. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


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


(-127 + 127)(10) =


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

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


0(10) =


0000 0000(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. 001 0111 1110 1110 1101 0111 =


001 0111 1110 1110 1101 0111


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 0000


Mantissa (23 bits) =
001 0111 1110 1110 1101 0111


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

1 - 0000 0000 - 001 0111 1110 1110 1101 0111


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