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

IEEE 754 Conversion for -33333333.88

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

IEEE 754 Conversion for -33333333.88

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

Name : Ali Hassan

ID: BC200414287

Question:
Convert the following number into 32-bit IEEE 754 Floating Point Format:

-33333333.88338833

Solution :
1. **Given Number**: -33333333.88338833

2. **Sign Bit**: Since the number is negative, Sign bit = 1

3. **Convert Integer Part to Binary**:


33333333₁₀ = 1111111001010000001010101₂

4. **Convert Fractional Part to Binary (approximation)**:


0.88338833₁₀ ≈ 0.111000111...₂
(Fraction conversion involves multiplying fractional part repeatedly by 2)

5. **Combine Integer and Fraction Part**:


-33333333.88338833₁₀ ≈ -1111111001010000001010101.111000111₂

6. **Normalize the Number**:


Move the decimal to after the first 1:
1.111111100101000000101011 × 2^24

7. **Exponent Calculation**:
Exponent = 24
Add Bias (127): 24 + 127 = 151
151 in binary = 10010111

8. **Mantissa (Fractional Part Only)**:


Mantissa = 111111100101000000101011

Final IEEE 754 Representation (32-bit)


Sign | Exponent | Mantissa

1 | 10010111 | 111111100101000000101011

Final Answer in Binary:


**11001011111111100101000000101011**

You might also like