Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hey guys i don't really understand this so if you can post a step to step answer for this i would appreciate it, thanks A.
Hey guys i don't really understand this so if you can post a step to step answer for this i would appreciate it, thanks
A. IEEE Floating Point Standard As with integers, we begin with training. The next set of questions assume we have declared the following Java variables: float f; double g; For each row, assuming we set the Java variable to the corresponding value, provide the variable's binary representation using the IEEE floating point standard. Please provide final answers below, and show/submit all work on an attached sheet. IEEE Floating Point Standard Statement f = -0.625 f = 1.0 g = 71.6875 g = -122.75 B. Precision and Range Interestingly some numbers can be perfectly represented in Base 10, but not in Base 2. An example is one-tenth (in Base 10, this is 0.1; in Base 2 this is a repeating decimal. Feel free to try!) Suppose we set both f and g to one-tenth using the statements below. f = 0.1; g = 0.1; Answer the following questions. For each, mark the best answer. Which will be closer to the actual value of one-tenth? f g Which can hold higher values? f g Which takes more memory? f g When using real values I should always use type double, to be safe. True False
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