Question

Using IEEE 754 representation for single precision floating point, give the 32-bit binary encoding for the...

Using IEEE 754 representation for single precision floating point, give the 32-bit binary encoding for the numbers below.

Show the sign, exponent, and mantissa (significand).

a. -2.40625

b. 11.2265625

Homework Answers

Answer #1
a)
-2.40625 in simple binary => 10.01101
so, -2.40625 in normal binary is 10.01101 => 1.001101 * 2^1

single precision:
--------------------
sign bit is 1(-ve)
exp bits are (127+1=128) => 10000000
frac bits are 00110100000000000000000

so, -2.40625 in single-precision format is 1 10000000 00110100000000000000000
sign => 1
exponent => 10000000
mantissa => 00110100000000000000000

b)
11.2265625 in simple binary => 1011.0011101
so, 11.2265625 in normal binary is 1011.0011101 => 1.0110011101 * 2^3

single precision:
--------------------
sign bit is 0(+ve)
exp bits are (127+3=130) => 10000010
frac bits are 01100111010000000000000

so, 11.2265625 in single-precision format is 0 10000010 01100111010000000000000
in hexadecimal it is 0x4133A000
sign => 0
exponent => 10000010
mantissa => 01100111010000000000000
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits:...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits: exponent 52 bits: mantissa. Calculate largest number (less than inf) that can be stored accurately Calculate smallest number (x>0) that can be stored accurately Calculate the machine epsilon Show all work step by step and repeat for 10 bit floating point (bit sign, 4 bits exponent and 5 bits mantissa)
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits:...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits: exponent 52 bits: mantissa. Calculate largest number that can be stored accurately Calculate smallest number (x>0) that can be stored accurately Calculate the machine epsilon Show all work step by step and explain calculations Now calculate the largest number and smallest number for a 10 bit floating point (1 bit for the sign, 4 bits exponent and 5 bits mantissa)
Using IEEE 754 single precision floating point, write the hexadecimal representation of negative infinity.
Using IEEE 754 single precision floating point, write the hexadecimal representation of negative infinity.
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit...
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit numbers, each expressed as an 8-digit hex number. Express your answer using decimal scientific notation. (a) (C6500000)16 (b) (31200000)16
For IEEE 754 single-precision floating point, write the hexadecimal representation for the following decimal values: 0.6
For IEEE 754 single-precision floating point, write the hexadecimal representation for the following decimal values: 0.6
Assuming a 5-bit IEEE (754 standard) floating-point format where 1 bit is used for the sign,...
Assuming a 5-bit IEEE (754 standard) floating-point format where 1 bit is used for the sign, 3 bits for the exponent, and 1 bit for the fraction, write the formulas for the exponent E, the significand M, the fraction f, and the value V for the quantities that follow and also describe the bit representation. Please show all steps to receive full credit. The number 5.0 The largest odd integer that can be represented exactly The reciprocal of the smallest...
If the IEEE Standard 754 representation of a floating point number is given as 01101110110011010100000000000000, determine...
If the IEEE Standard 754 representation of a floating point number is given as 01101110110011010100000000000000, determine the binary value represented by this 32-bit number
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work,...
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work, thanks!
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned...
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned binary representation, convert 12 (D) to binary. Show work. 4. Assuming 9-bit two’s complement representation and let x be binary representation of 94 (D) a. Find x. Show work. b. Show the effect of the ASL operation on x, and then convert the result back to decimal. c. Show the effect of the ASR operation on x, and then convert the result back to...
How do you convert a decimal like 4.9219 into binary? (assuming 32-bit IEEE 754 floating point...
How do you convert a decimal like 4.9219 into binary? (assuming 32-bit IEEE 754 floating point format)