Here tips to convert the number form decimal (base 10 ) to floating point .
1. change the decimal number to the binary number ( base 2 )
2. That number ( in base 2 ) must add the exponent ,
3. Normalize the number follow the scientific notation .
4. Mantissa , is the number after " 1 . " , so , from the example we can find that the mantissa is
0001101
matissa = 0001101
5. Exponent , based on the power of 2 .
6. Sign ,, look back at the original number which in decimal . identify its sign .
watch this video for more understand this topic . :)
CONVERT DECIMAL TO FLOATING POINT IEEE 754
No comments:
Post a Comment