next up previous contents index
Next: H.2 Byte Patterns Up: H.1 Basic Formats Previous: H.1.1 Single

H.1.2 Double

A 64-bit double format number X is divided as shown in Fig. H.2. The value v of X is inferred from its constituent fields thus

1.
If e = 2047 and $f \neq 0$, then v is NaN regardless of s
2.
If e = 2047 and f = 0, then $v = (-1)^{s} \infty$
3.
If 0 < e < 2047, then $v = (-1)^{s} 2^{e-1023} (1 \bullet f)$
4.
If e = 0 and $f \neq 0$, then $v = (-1)^{s} 2^{e-1022} (0 \bullet f)$ (denormalized numbers)
5.
If e = 0 and f = 0, then v = (-1)s0 (zero)


  
Figure H.2: Double Format. msb means most significant bit, lsb means least significant bit
\begin{figure}
\begin{center}
 \leavevmode
 \epsffile{ieee2.eps}\end{center}\end{figure}




5/13/1999