In addition to the default IEEE doubleprecision formal 8 byt
In addition to the default IEEE double-precision formal (8 bytes, 64 bits) to store floating-point numbers, MATLAB can also store the numbers in single-precision forma! (4 bytes, 32 bits). Each value is stored in 4 bytes with 1 bit for the sign, 23 bits for the mantissa, and 8 bits for the signed exponent: Determine the value (expressed in base 10 number) of the following single precisi oacute n floating point number which is represented in IEEE format, (show your work)
Solution
Sigened bit is 1 so it is negative and we have the sign -1
The exponent value is 01111110 and so exponent value is -1 and hence it is 2-1
The Mantissa value which we converted into decimal is 7077890 which in turn when converted to matissa value, we get 1.843750238418579
Final result is then calculated as sign * 2exponent* mantissa
Calculating this result -1 * 2-1* 1.843750238418579
The final values comes as -0.9218751192092895
which when rounded, comes as -0.92
