Question: A C program declares three variables x , y , z , in that order. The first two are 1 6 - bit integers, and
A C program declares three variables x y z in that order. The first two are
bit integers, and the third a bit floating point value stored in IEEE
representation. The variable x and y Figure Qa is a memory
dump of the area used to store data.
ss: FF FC CF
ss: FF CF CF FC
ss: CF CF FC
ss: CF CF
Figure Qa
i State the memory locations in which x and y are stored.
ii Calculate the value of z showing your working at each stage of the
analysis.
iii What is special about the number represented by xfffff in IEEE
representation when performing floating point calculations, and
why would this be important when calculating distances in satellite
positioning
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
