IEEE 754 binary representation
Versión 1.1.0.0 (1,67 KB) por
Toby Driscoll
Converts a double into its underlying 64-bit representation, including sign, exponent, and mantissa.
[S,E,F] = IEEE754(X) returns the sign bit, exponent, and mantissa of an IEEE 754 floating point value X, expressed as binary digit strings of length 1, 11, and 52, respectively.
X is equal to (in exact arithmetic and decimal notation)
(-1)^S * (1 + F/(2^52)) * 2^(E-1023),
except for special values 0, Inf, NaN, and denormalized numbers (between 0 and REALMIN).
Citar como
Toby Driscoll (2025). IEEE 754 binary representation (https://la.mathworks.com/matlabcentral/fileexchange/25326-ieee-754-binary-representation), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Numbers and Precision en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
