I am doing a practice on the IEEE 754 operations that has an inclusion of addition. My big target is to make a code that will run them, but I have to start by understanding their functionality. I have been doing research online, and he information that am finding is not helpful to me at all and this is due to the fact that I don’t know what I should do or even where to start. Can someone share information on how I should handle this and also help me understand how I can get the sum of two given numbers as shown below:
Add N1 + N2
Sign Exponent Significand (Mantissa?)
_______________________________________
N1 = 0 | 11001111 | 110100000 ..... 0 |
______________________________________|
N2 = 1 | 11011101 | 101100000 ..... 0 |
______________________________________|
Now I know about prepending the decimal to make the numbers under the significant become:
1.110100000 ..... 0
1.101100000 ..... 0
and that the base2 of the exponents comes out to
https://www.theengineeringprojects.com/2021/10/how-to-setup-c-environment.html
11001111 = 207
11011101 = 205
Subtracting 207 - 205 = 2,