Question

In: Computer Science

6a) (6 pts. each) Find the decimal represented by the 32-bit single precision floating point number...

6a) (6 pts. each) Find the decimal represented by the 32-bit single precision floating point number for the hexadecimal value C47CD000.

Solutions

Expert Solution

32 bit single precision floating point number is divided into 3 parts.

1.Sign bit of size 1.

2.Exponent part have 8 bit.

3. 23 bits for mentissa.

To convert (C47CD000)16 in decimal.

Step1: Convert (C47CD000)16in binary form.

1100 0100 0111 1100 1101 0000 0000 0000.

Step 2: Here 1st bit represent sign bit.

If sign bit is 1 then number is negative.

if sign bit is 0 then number is positive.

Here 1st bit is 1 hence number is negative.

Step 3: Next 8 bit represent excess 127 exponent bit.

Convert next 8 bit into decimal form .

Convert (10001000)2 in decimal form.

1*2^7+0*2^6+0*2^5+0*2^4+1*2^3+0*2^2+0*2^1+0*2^0=(137)10

Subtract 127 from converted decimal exponent.

137-127=10.

Step 4:Denormalized last 23bits by adding 1 before 9 bit.

1.111 1100 1101 0000 0000 0000

Multiply by 2^10. By shifting decimal point towards right we get.

(1111 1100 110.10000 0000 0000)2

Convert above binary number into decimal no.

1*2^10+1*2^9+1*2^8+1*2^7+1*2^6+1*2^5+0*2^4+0*2^3+1*2^2+1*2^1+0*2^0+1*2^-1

=1024+512+256+128+64+32+0+0+4+2+1+0.5

=(2023.5)10

As the sign bit is 1 hence the no will be negative that is (-2023.5)10.

Decimal represented by the 32-bit single precision floating point number for the hexadecimal value C47CD000 is (-2023.5)10.


Related Solutions

The number –11.375 (decimal) represented as a 32-bit floating-point binary number according to the IEEE 754...
The number –11.375 (decimal) represented as a 32-bit floating-point binary number according to the IEEE 754 standard is
Q1.Convert C46C000016 into a 32-bit single-precision IEEE floating-point binary number.
Q1.Convert C46C000016 into a 32-bit single-precision IEEE floating-point binary number.
2. a) Represent the decimal value 47.375 as a single precision IEEE floating point number. Give...
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.
Given the following 32-bit binary sequences representing single precision IEEE 754 floating point numbers: a =...
Given the following 32-bit binary sequences representing single precision IEEE 754 floating point numbers: a = 0100 0000 1101 1000 0000 0000 0000 0000 b = 1011 1110 1110 0000 0000 0000 0000 0000 Perform the following arithmetic and show the results in both normalized binary format and IEEE 754 single-precision format. Show your steps. a)     a + b b)     a × b
Convert 0.875 to an IEEE 754 single-precision floating-point number. Show the sign bit, the exponent, and...
Convert 0.875 to an IEEE 754 single-precision floating-point number. Show the sign bit, the exponent, and the fraction. Convert -3.875 to an IEEE 754 double-precision floating-point number. Show the sign bit, the exponent, and the fraction Convert the IEEE 754 single-precision floating-point numbers 42E4800016 and 0080000016 to their corresponding decimal numbers.
Convert the following binary number (signed 32-bit floating point IEEE-754) into decimal. 0100 0011 0100 0000...
Convert the following binary number (signed 32-bit floating point IEEE-754) into decimal. 0100 0011 0100 0000 0000 0000 0000 0000
Consider the following 32-bit floating point representation based on the IEEE floating point standard: There is...
Consider the following 32-bit floating point representation based on the IEEE floating point standard: There is a sign bit in the most significant bit. The next eight bits are the exponent, and the exponent bias is 28-1-1 = 127. The last 23 bits are the fraction bits. The representation encodes number of the form V = (-1)S x M x 2E, where S is the sign, M is the significand, and E is the biased exponent. The rules for the...
c) Using the 32-bit binary representation for floating point numbers, represent the number 1011100110011 as a...
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.
verilog code to implement 32 bit Floating Point Adder in Verilog using IEEE 754 floating point...
verilog code to implement 32 bit Floating Point Adder in Verilog using IEEE 754 floating point representation.
Using IEEE 754 single precision floating point, write the hexadecimal representation for each of the following:...
Using IEEE 754 single precision floating point, write the hexadecimal representation for each of the following: a. Zero b. -2.0 (base 10) c. 256. 0078125 (base 10) d. Negative infinity
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT