How Do You Convert 111011.0101 to IEEE 754 Floating-Point Format?

Click For Summary

Discussion Overview

The discussion revolves around the conversion of the binary number 111011.0101 into IEEE 754 floating-point format. Participants explore the steps involved in this conversion, including the identification of the sign, mantissa, and exponent, while addressing uncertainties about the process.

Discussion Character

  • Homework-related
  • Exploratory
  • Technical explanation

Main Points Raised

  • One participant begins by expressing uncertainty about how to start the conversion process and questions whether the decimal indicates a mantissa.
  • Another participant suggests that the most-significant bit being 1 indicates the number is negative and proposes a quasi-scientific notation approach for the conversion.
  • There is a discussion about moving the binary point and adjusting the exponent, drawing a parallel to decimal scientific notation.
  • Questions arise about the role of the mantissa in the conversion process, with one participant speculating on its implications for the final result.
  • Several participants express confusion regarding the definition and function of the mantissa in the context of IEEE 754 format.
  • Links to external resources are provided to help clarify the IEEE standard and the concept of significand.

Areas of Agreement / Disagreement

Participants express various uncertainties and questions about the conversion process, particularly regarding the mantissa and its role. There is no consensus on the correct approach or understanding of the concepts involved.

Contextual Notes

Participants demonstrate a lack of clarity on the IEEE 754 standard and the specific steps required for conversion, indicating potential gaps in foundational knowledge.

brian.L
Messages
7
Reaction score
0

Homework Statement


The problem is how to begin converting 111011.0101 into floating point. I actually did begin looking at the first digit number "1" and identify that it is a negative since is one and zero is positive. Then I try working 111011.0101 separately by splitting 111011 for now and do 0101 after. I am not exactly sure if the decimal between the digits suggest a mantissa, so that is another question I need to be point out on.

Finally, believe I let the following digits 111011 represented by bits. For example: let first digit be 128, let second digit be 64, let third digit be 32, let forth digit be 16, etc.

Then I'm stuck on the part where calculation are suppose to be made?

Note: Here is the question in case I was not clear - Convert the following binary numbers to floating-point format using single-precision IEEE 754 format.
Convert your answer to hexadecimal format.


Convert this 111011.0101 to floating point.

Homework Equations


No equations. I'm not sure if there is suppose to be a mantissa somewhere in the digits.

The Attempt at a Solution


Unfinished solution, full calculations has not been completed yet.

Homework Statement

 
Last edited:
Physics news on Phys.org


Help is appreciated :D
 


brian.L said:

Homework Statement


The problem is how to begin converting 111011.0101 into floating point. I actually did begin looking at the first digit number "1" and identify that it is a negative since is one and zero is positive. Then I try working 111011.0101 separately by splitting 111011 for now and do 0101 after.
Since the most-significant bit is 1, the number is considered negative. The rest of the number's bit pattern is 11011.0101, with the first 1 removed.

Your number could be written in a quasi-scientific notation as -11011.0101 X 20. You can move the binary point to the left, simultaneously adjusting the exponent on 2. This is similar to changing 120.3 X 103 to 1.203 X 105.

So -11011.0101 X 20 = -.110110101 X 25.

You're going to have to look at IEEE 754 to see what else you need to do to convert this number to a floating point format.
brian.L said:
I am not exactly sure if the decimal between the digits suggest a mantissa, so that is another question I need to be point out on.

Finally, believe I let the following digits 111011 represented by bits. For example: let first digit be 128, let second digit be 64, let third digit be 32, let forth digit be 16, etc.

Then I'm stuck on the part where calculation are suppose to be made?

Note: Here is the question in case I was not clear - Convert the following binary numbers to floating-point format using single-precision IEEE 754 format.
Convert your answer to hexadecimal format.


Convert this 111011.0101 to floating point.

Homework Equations


No equations. I'm not sure if there is suppose to be a mantissa somewhere in the digits.

The Attempt at a Solution


Unfinished solution, full calculations has not been completed yet.
 


Mark44 said:
Since the most-significant bit is 1, the number is considered negative. The rest of the number's bit pattern is 11011.0101, with the first 1 removed.

Your number could be written in a quasi-scientific notation as -11011.0101 X 20. You can move the binary point to the left, simultaneously adjusting the exponent on 2. This is similar to changing 120.3 X 103 to 1.203 X 105.

So -11011.0101 X 20 = -.110110101 X 25.

You're going to have to look at IEEE 754 to see what else you need to do to convert this number to a floating point format.

Oh, one more question. Is the question going to end up with a different result if there is mantissa?
 


What do you think a mantissa is?
 


Mark44 said:
What do you think a mantissa is?

Mantissa replaces any first digit that are negative into zero?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
9
Views
2K
Replies
10
Views
4K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K