I need to change x1 = 0.3 and x2 = -0.29 to a FP(floating point) number with a a 1one sign bit, a 4 bit mantissa, a 3 bit exponent. The results I got are:
x1: 0 001 0011
x2: 1 001 0010
I am also trying to calculate the number of significant digits of x1 and x2 and I have found 2 for each, but I am unsure of this result.
The question also requires me to find z = (FP)x1 + (FP)x2 and the number of significant digits of z. But I am not sure how to proceed with this part of the question. Therefore, any guidance on how I could proceed would be greatly appreciated.
Thank you very much!