IEEE 754 binary representation

버전 (1.67 KB) 작성자: Toby Driscoll
Converts a double into its underlying 64-bit representation, including sign, exponent, and mantissa.

다운로드 수: 3.2K

업데이트 날짜: 2013/10/31

라이선스 보기

[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).

인용 양식

Toby Driscoll (2022). IEEE 754 binary representation (, MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!