Question

In: Computer Science

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.

Solutions

Expert Solution

Hexadecimal Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
Use this table to convert from hexadecimal to binary
Converting C46C0000 to binary
C => 1100
4 => 0100
6 => 0110
C => 1100
0 => 0000
0 => 0000
0 => 0000
0 => 0000
So, in binary C46C0000 is 11000100011011000000000000000000
1 10001000 11011000000000000000000
sign bit is 1(-ve)
exp bits are 10001000
Converting 10001000 to decimal
   10001000
   => 1x2^7+0x2^6+0x2^5+0x2^4+1x2^3+0x2^2+0x2^1+0x2^0
   => 1x128+0x64+0x32+0x16+1x8+0x4+0x2+0x1
   => 128+0+0+0+8+0+0+0
   => 136
in decimal it is 136
so, exponent/bias is 136-127 = 9
frac bits are 11011

IEEE-754 Decimal value is 1.frac * 2^exponent
IEEE-754 Decimal value is 1.11011 * 2^9
1.11011 in decimal is 1.84375
   => 1.11011
   => 1x2^0+1x2^-1+1x2^-2+0x2^-3+1x2^-4+1x2^-5
   => 1x1+1x0.5+1x0.25+0x0.125+1x0.0625+1x0.03125
   => 1+0.5+0.25+0.0+0.0625+0.03125
   => 1.84375
so, 1.84375 * 2^9 in decimal is 944.0
so, 11000100011011000000000000000000 in IEEE-754 single precision format is -944.0
Answer: -944.0



Related Solutions

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 1101.11011101 x 223 to IEEE Standard 754 for single-precision floating-point binary format. Convert the IEEE...
Convert 1101.11011101 x 223 to IEEE Standard 754 for single-precision floating-point binary format. Convert the IEEE Standard 754 number 11001010100011010101000000000000 to its decimal equivalent.
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
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
A) Convert 1101.11011101 x 223 to IEEE Standard 754 for single precision floating-point binary format. B)...
A) Convert 1101.11011101 x 223 to IEEE Standard 754 for single precision floating-point binary format. B) Convert the IEEE Standard 754 number 11001010100011010101000000000000 to its decimal equivalent.  
Convert the following floating-point number (stored using IEEE floating-point standard 754) to a binary number in...
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
Convert 1.67e14 to the 32-bit IEEE 754 Floating Point Standard, with the following layout: first bit...
Convert 1.67e14 to the 32-bit IEEE 754 Floating Point Standard, with the following layout: first bit is sign bit, next 8 bits is exponent field, and remaining 23 bits is mantissa field; result is to be in hexadecimal and not to be rounded up. answer choices 5717E27B 57172EB7 5717E2B7 C717E2B7 5771E2B7
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.
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT