Expressing floating point numbers in IEEE standard?

4 visualizaciones (últimos 30 días)
Joe
Joe el 17 de Mzo. de 2013
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.

Respuesta aceptada

the cyclist
the cyclist el 17 de Mzo. de 2013
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:

Más respuestas (2)

James Tursa
James Tursa el 17 de Mzo. de 2013
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 el 17 de Mzo. de 2013
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

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by