IEEE 754 binary representation
Version 1.1.0.0 (1,67 KB) von
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).
Zitieren als
Toby Driscoll (2026). IEEE 754 binary representation (https://de.mathworks.com/matlabcentral/fileexchange/25326-ieee-754-binary-representation), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2009a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Numbers and Precision finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.1.0.0 | Used NUM2HEX in place of SPRINTF, per suggestion by Andreas Luettgens. |
||
| 1.0.0.0 |
