The floating-point binary number is +1001.112.
We need to convert it into an 8-bit fraction and a 6-bit exponent format.
We start by normalizing the binary number into scientific notation of the form:
1.xxxx×2n
Converting 1001.112 into scientific notation gives:
1001.112=1.001112×23
The exponent is 3 (because the binary point is shifted 3 places to the left).
The exponent is 3 in decimal. To represent this in binary using 6 bits, we get:
Exponent=0001002
The fractional part of the normalized binary number is 00111. We need to extend it to 8 bits:
Fraction=010011102
The floating-point binary number +1001.112 in 8-bit fraction and 6-bit exponent format is:
Exponent: 0001002, Fraction: 010011102
Aspire Study Online Test Series,
Information About Examination,
Syllabus, Notification
and More.
Aspire Study Online Test Series,
Information About Examination,
Syllabus, Notification
and More.
Commented May 21 , 2022
2 Upvote 0 Downvote Reply
Your reply to this comment :