32-bit floating point binary query.

Click For Summary
SUMMARY

The discussion centers on converting the number 56 832 into a 32-bit floating point binary representation and decoding the hexadecimal value B28C0F34 into decimal. It is confirmed that floating point numbers can represent whole numbers, with the exponent set to zero for integers. The hexadecimal B28C0F34 is interpreted as a 32-bit quantity, where each character represents a hex nibble, and its conversion to floating point values is the focus of the inquiry.

PREREQUISITES
  • Understanding of 32-bit floating point representation
  • Familiarity with hexadecimal notation and conversion
  • Basic knowledge of binary number systems
  • Experience with floating point arithmetic
NEXT STEPS
  • Learn how to convert decimal numbers to 32-bit floating point binary representation
  • Study the IEEE 754 standard for floating point arithmetic
  • Practice converting hexadecimal values to decimal and binary
  • Explore tools for visualizing floating point representations
USEFUL FOR

Students, software developers, and engineers who are working with numerical computations, particularly those interested in understanding floating point representations and conversions in programming and computer science.

Steve Collins
Messages
45
Reaction score
0
I’m hoping that someone will be able to clarify these questions that I have been given as I’m very confused.

1. Convert 56 832 into a 32-bit floating binary representation.
2. Convert the 32-bit floating point binary representation B28C0F34 into decimal.


I have watched a couple of YouTube videos and read some articles on the web about floating point numbers. I am under the impression that they are used to represent numbers with decimal points. Am I correct in thinking this? Maybe there has been a typo and the number should read 56.832?

Also, how is B28C0F34 a 32-bit floating point binary representation?

Any help would be much appreciated.

Thanks

Steve
 
Physics news on Phys.org
Steve Collins said:
I’m hoping that someone will be able to clarify these questions that I have been given as I’m very confused.

1. Convert 56 832 into a 32-bit floating binary representation.
2. Convert the 32-bit floating point binary representation B28C0F34 into decimal.


I have watched a couple of YouTube videos and read some articles on the web about floating point numbers. I am under the impression that they are used to represent numbers with decimal points. Am I correct in thinking this? Maybe there has been a typo and the number should read 56.832?

Also, how is B28C0F34 a 32-bit floating point binary representation?

Any help would be much appreciated.

Thanks

Steve

Floating point numbers do not have to have a fractional part, but they may. So you should still be able to convert a whole number into a floating point number (the exponent is just zero).

B28C0F34 is just a 32-bit quantity. Each letter/number represents a hex nibble 0-F. How you interpret the quantity is up to you (in this case you are to decode its floating point values).
 
I spent some time on this earlier today and managed to figure floating point numbers out.

Once again, thanks for the direction berkeman.
 

Similar threads

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