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
1. Represent following floating-point numbers in IEEE
single-precision (32-bit) format: a. -0.1875, b. 0.46875
2. What is the decimal value of the following IEEE
single-precision (32-bit) floating-point numbers (which are shown
in hexadecimal)? a. 3F400000, b. BE000000
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