Expressing floating point numbers in IEEE standard?

8 次查看(过去 30 天)
How would you express a floating point number in IEEE standard? There would be three parts, the sign, the biased exponent, and the mantissa. But I don't quite understand how you would even break down a floating point number into these three parts.

采纳的回答

the cyclist
the cyclist 2013-3-17
Did you look at my answer to your other question yet? Here:
The document I point you to in that answer talks about that exact topic. Here's the link again, for your convenience:

更多回答(2 个)

James Tursa
James Tursa 2013-3-17
In addition to the links provided in the previous answers I would point you to the MATLAB function [F,E] = log2(X) to extract the parts of the floating point number(s).

Walter Roberson
Walter Roberson 2013-3-17
MATLAB single and double precision numbers are already expressed in IEEE format internally.
There is an example of converting to the single precision form here

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by