Question: c++ 3. (30%) You have learned IEEE single precision data type (from Wikipedia web site) with the 32 bits laid out as follows: (a) (20%)
3. (30%) You have learned IEEE single precision data type (from Wikipedia web site) with the 32 bits laid out as follows: (a) (20%) Derive why the maximum (positive overflow and negative overflow) is about 1038 using the fact that exponent is 8 bits (with bit 30 as the sign bit of exponent). (b) (10%) Derive why the mantissa (or the part after decimal point) is 7 digits for single precision (which is C/C++/CH/ Java's float data type)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
