Current Affairs

Represent (-55.25)10 and (0.03125)10 in IEEE 754 single precision format.

Read the important current affairs of 15 July 2026 for SSC, Banking, UPSC, Railway and all competitive exams.

28 Oct 2024 5 Min Read Quizer Team 59 Views

28

October 2024

1. Representing <math xmlns="http://www.w3.org/1998/Math/MathML">(−55.25)10(-55.25)_{10}</math>

Step 1: Determine the Sign Bit

Since <math xmlns="http://www.w3.org/1998/Math/MathML">−55.25-55.25</math> is negative, the sign bit is 1.

Step 2: Convert to Binary (Magnitude Only)

  • Convert 55 to binary: <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">5510=110111255_{10} = 110111_2</math>
  • Convert 0.25 to binary (fraction part):
    • <math xmlns="http://www.w3.org/1998/Math/MathML">0.25×2=0.5→00.25 \times 2 = 0.5 \rightarrow 0</math>
    • <math xmlns="http://www.w3.org/1998/Math/MathML">0.5×2=1.0→10.5 \times 2 = 1.0 \rightarrow 1</math>
    So, <math xmlns="http://www.w3.org/1998/Math/MathML">0.2510=0.0120.25_{10} = 0.01_2</math>.

Thus, <math xmlns="http://www.w3.org/1998/Math/MathML">55.251055.25_{10}</math> is represented in binary as:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">110111.012110111.01_2</math>

Step 3: Normalize the Binary Number

To normalize, shift the binary point to get a single 1 to the left of the decimal point:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">110111.012=1.1011101×25110111.01_2 = 1.1011101 \times 2^5</math>

Step 4: Calculate the Exponent

With a bias of 127, the exponent is calculated as:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">127+5=132127 + 5 = 132</math>

So, <math xmlns="http://www.w3.org/1998/Math/MathML">13210=100001002132_{10} = 10000100_2</math>.

Step 5: Determine the Mantissa

The mantissa is the fractional part of the normalized number, <math xmlns="http://www.w3.org/1998/Math/MathML">10111011011101</math>, padded to 23 bits:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">1011101000000000000000010111010000000000000000</math>

Final IEEE 754 Representation of <math xmlns="http://www.w3.org/1998/Math/MathML">(−55.25)10(-55.25)_{10}</math>

Putting it all together, the IEEE 754 single-precision format for <math xmlns="http://www.w3.org/1998/Math/MathML">(−55.25)10(-55.25)_{10}</math> is:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">Sign=1,Exponent=10000100,Mantissa=10111010000000000000000\text{Sign} = 1, \text{Exponent} = 10000100, \text{Mantissa} = 10111010000000000000000</math>

So, <math xmlns="http://www.w3.org/1998/Math/MathML">(−55.25)10(-55.25)_{10}</math> in IEEE 754 single precision is:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">1 10000100 101110100000000000000001 \, 10000100 \, 10111010000000000000000</math>

2. Representing <math xmlns="http://www.w3.org/1998/Math/MathML">(0.03125)10(0.03125)_{10}</math>

Step 1: Determine the Sign Bit

Since <math xmlns="http://www.w3.org/1998/Math/MathML">0.031250.03125</math> is positive, the sign bit is 0.

Step 2: Convert to Binary

Convert <math xmlns="http://www.w3.org/1998/Math/MathML">0.031250.03125</math> to binary:

  • <math xmlns="http://www.w3.org/1998/Math/MathML">0.03125×2=0.0625→00.03125 \times 2 = 0.0625 \rightarrow 0</math>
  • <math xmlns="http://www.w3.org/1998/Math/MathML">0.0625×2=0.125→00.0625 \times 2 = 0.125 \rightarrow 0</math>
  • <math xmlns="http://www.w3.org/1998/Math/MathML">0.125×2=0.25→00.125 \times 2 = 0.25 \rightarrow 0</math>
  • <math xmlns="http://www.w3.org/1998/Math/MathML">0.25×2=0.5→00.25 \times 2 = 0.5 \rightarrow 0</math>
  • <math xmlns="http://www.w3.org/1998/Math/MathML">0.5×2=1.0→10.5 \times 2 = 1.0 \rightarrow 1</math>

So, <math xmlns="http://www.w3.org/1998/Math/MathML">0.0312510=0.0000120.03125_{10} = 0.00001_2</math>.

Step 3: Normalize the Binary Number

To normalize <math xmlns="http://www.w3.org/1998/Math/MathML">0.0000120.00001_2</math>, shift the binary point to get a single 1 to the left of the decimal:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">0.000012=1.0×2−50.00001_2 = 1.0 \times 2^{-5}</math>

Step 4: Calculate the Exponent

With a bias of 127, the exponent is:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">127−5=122127 - 5 = 122</math>

So, <math xmlns="http://www.w3.org/1998/Math/MathML">12210=011110102122_{10} = 01111010_2</math>.

Step 5: Determine the Mantissa

The mantissa is the fractional part of the normalized number (which is <math xmlns="http://www.w3.org/1998/Math/MathML">00</math>), padded to 23 bits:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">0000000000000000000000000000000000000000000000</math>

Final IEEE 754 Representation of <math xmlns="http://www.w3.org/1998/Math/MathML">(0.03125)10(0.03125)_{10}</math>

Putting it all together, the IEEE 754 single-precision format for <math xmlns="http://www.w3.org/1998/Math/MathML">(0.03125)10(0.03125)_{10}</math> is:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">Sign=0,Exponent=01111010,Mantissa=00000000000000000000000\text{Sign} = 0, \text{Exponent} = 01111010, \text{Mantissa} = 00000000000000000000000</math>

So, <math xmlns="http://www.w3.org/1998/Math/MathML">(0.03125)10(0.03125)_{10}</math> in IEEE 754 single precision is:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">0 01111010 000000000000000000000000 \, 01111010 \, 00000000000000000000000</math>
Why This Content Matters

This content is prepared to help students and competitive-exam aspirants understand important topics, revise key information, and strengthen their exam preparation.

  • Quickly revise important facts and concepts
  • Improve General Knowledge and exam awareness
  • Support preparation for competitive and government exams
  • Build a consistent and effective study routine
Quizer Team
About the Author

Quizer Team

The Quizer Team creates exam-focused educational content, current affairs, general knowledge, study notes, and preparation resources to help students and competitive-exam aspirants learn, practice, and stay updated.

Educational Content Exam Focused Learning Resources

📢 Join Our WhatsApp Channel

Get Daily GK, Current Affairs, Amazing Facts & Quiz Updates.

🚀 Join Now

Join Monthly Challenge

Compete, Learn & Win exciting prizes.

  • Cash Rewards
  • E-Certificates
  • Leaderboard Ranking
  • Daily Practice
Join Now

Related Post

Current Affairs
24 Sep 2026 366
Read More
Current Affairs
3 Sep 2026 389
Read More
Current Affairs
27 Aug 2026 835
Read More