0% found this document useful (0 votes)
10 views1 page

4 Yxp

The document outlines the process of converting the decimal number 40.15625 into IEEE 32-bit format. It details the steps of finding the binary representation of both the whole and fractional parts, normalizing the number, calculating the biased exponent, and assembling the final IEEE format. The final output includes the sign, exponent, and mantissa in binary form.

Uploaded by

khawla2076
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

4 Yxp

The document outlines the process of converting the decimal number 40.15625 into IEEE 32-bit format. It details the steps of finding the binary representation of both the whole and fractional parts, normalizing the number, calculating the biased exponent, and assembling the final IEEE format. The final output includes the sign, exponent, and mantissa in binary form.

Uploaded by

khawla2076
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Covert 40.

15625 to IEEE 32-bit format

Step 1 40.15625 Step 1b


Find binary of whole number Find binary of fraction number

40-32-8 .15625 -.1250 - .03125


Binary value of 40 Binary value of .15625
32 16 8 4 2 1 .5 .25 .125 .0625 .03125
1 0 1 0 0 0 0 0 1 0 1
Step 2a
Move decimal (Radix point) to the
right of the left most 1 to come up with
the exponent

.
101000.00101
Step 2b
Normalize by multipling the number by 2
and the exponent from step 3

Equals
101000.00101 x 25 = 1.0100000101
Step 3a
convert the exponent to a biased exponent
by adding the bias of 127 to the exponent

127 + 5 = 13210

Step 3b
Convert the biased exponent to its binary Binary value of 132
value 132-128-4

64 32 16 8 4 2 1
1 0 0 0 1 0 0 Step 4b
Step 4a Move to mantissa
Piece together values. without the 1.
Sign Exponent Mantissa
0 10000100 0100000101
Step 4c. Left pad exponent and right 0 010000100 01000001010…0
pad mantissa to determine the binary
equivalent of IEEE

Sign Exponent Mantissa


0 010000100 01000001010…0

You might also like