c) Using the 32-bit binary representation for floating point
numbers, represent the number 1011100110011 as a 32 bit floating
point number.
i) A digital camera processes the images images in the
real-world and stores them in binary form. Using the principles of
digital signal processing, practically explain how this phenomenon
occurs.
Using the simple model for representing binary floating point
numbers
A floating-point number is 14 bits in length.
The exponent field is 5 bits.
The significand field is 8 bits.
The bias is 15
Represent -32.5010 in the simple model.
Q1: In the addition of floating-point numbers,
how do we adjust the representation of numbers with different
exponents?
Q2:
Answer the following questions:
What binary operation can be used to set bits? What bit pattern
should the mask have?
What binary operation can be used to unset bits? What bit
pattern should the mask have?
What binary operation can be used to flip bits? What bit
pattern should the mask have?
2. a) Represent the decimal value 47.375 as a
single precision IEEE floating point number. Give
your answer in hexadecimal and show your work.
b) Represent the decimal value 47.375 as a
double precision IEEE floating point number. Give
your answer in hexadecimal and show your work.
Represent the following numbers in IEEE half-precision floating
point. Indicate problems where you run into them.
1
-10
55595472
-π (PI)
The speed of light in meters per second
Convert the following floating-point number (stored using IEEE
floating-point standard 754) to a binary number in non-standard
form.
0100_0001_1110_0010_1000_0000_0000_0000
Assume that you have a 12-bit floating point number system,
similar to the IEEE floating point standard, with the format shown
below and a bias of 7. The value of a floating point number in this
system is represented as
FP = (-1)^S X
1.F X
2^(E-bias)
for the floating point numbers A = 8.75 and B = -5.375. The
binary representation of A is given as
A = 0101 0000 1100
Show the hexidecimal representation of B.