4) Using the floating point format described in problem 5.19 of your text, conve
ID: 3534408 • Letter: 4
Question
4) Using the floating point format described in problem 5.19 of your text, convert 1025.125 base 10 to the floating point representation.
5.19 Convert the following binary and hexadecimal numbers to floating point format.
Assume a binary format consisting of a sign bit (negative=1), a base 2, 8-bit,
excess-128 exponent, and 23 bits of mantissa, with the implied binary point to
the right of the first bit of the mantissa.
a. [110110.011011]2
b. [?1.1111001]2
c. [?4F7F]16
d. [0.00000000111111]2
e. 0.1100
Explanation / Answer
1025.125 in floating point representation is
(+1)(.1025125)*10^4 [in case it is not visible, the decimal point is before 1 in the number 1025125]
The following are in floating point representation
(a) (+1)*(.110110.011011)*2^6
(b)(-1)*(.111110011)*2^1
(c)(-1)*(.4F7F)*(16^4)
(d) (+1)(0.00000000111111)*2^1
(e) (+1)*(0.1100)*2^36
(f) (+!)*( 0.1100)2^?36
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.