Previous Topic Next topic Print topic


Float Binary (23 < p ≤ 52)

Float Binary (23 < p ≤ 52) is a double-precision, basic format, binary floating-point number (ANSI/IEEE 754-1985 compliant). It consists of a 1-bit sign, 11-bit biased exponent (bias = 1023), and 52+(1)-bit binary fraction (hidden bit).

An exponent of 2047 represents +/- infinity or not-a-number. +/- infinity is represented by an exponent of 2047 and zero as the fraction part; the sign bit (S) denotes the + or - infinity. Not-a-number is represented by an exponent of 2047 and any non-zero value in the fraction part; the sign bit of not-a-number is not significant. An exponent of 0 denotes a denormalized value of reduced precision. Both +0 and -0 are possible. Note that the range is approximate and indicates representable values, which include zero and both negative and positive numbers.


Float Binary

 
Size Alignment Approximate Absolute Value of Range
Size Alignment Approximate Absolute Value of Range
Size Alignment Approximate Absolute Value of Range
8 bytes    4 bytes (Little Endian)    

8 bytes (Big Endian)

4.9E-324 to 1.8E+308
8 bytes    4 bytes (Little Endian)    

8 bytes (Big Endian)

4.9E-324 to 1.8E+308
8 bytes    4 bytes (Little Endian)    

8 bytes (Big Endian)

4.9E-324 to 1.8E+308
Previous Topic Next topic Print topic