next up previous contents index
Next: H.1.2 Double Up: H.1 Basic Formats Previous: H.1 Basic Formats

H.1.1 Single

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

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


  
Figure H.1: Single Format. msb means most significant bit, lsb means least significant bit
\begin{figure}
\begin{center}
 \leavevmode
 \epsffile{ieee1.eps}\end{center}\end{figure}




5/13/1999