Question
Floating-Point Integers Let S be the set of 32-bit IEEE floating-point values that are integers. (S contains both +0 and 0.) Answer the following questions
Floating-Point Integers Let S be the set of 32-bit IEEE floating-point values that are integers. (S contains both +0 and 0.) Answer the following questions about S. Express all your answers exactly, i.e., by using powers of 2.
(a) How many elements are in S?
(b) Whats the largest odd value of S?
(c)How many consecutive integers are in S? You shouldnt count both +0 and 0 in your total.
(e) The number 264 is in S. What are its nearest neighbours? In other words, what two values in S are closest to 264?
(f) Determine the number of values in S which are representable using 32-bit unsigned.
(g) Let x = 2127 and let y be an integer in S. Whats the smallest value of y that will satisfy x + y = +?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started