Say we have six bit representation (not single, double) (see the Fig.)
Figure 2.5:
Computer numbers with six bit representation.
|
- For positive range
- For negative range
; even discontinuity at point zero since it is not in the ranges.
Figure 2.6:
Upper: number line in the hypothetical system, Lower: IEEE standard.
|
- Very simple computer arithmetic system
the gaps between stored values are very apparent.
- Many values can not be stored exactly. i.e., 0.601, it will be stored as if it were 0.6250 because it is closer to
, an error of
- In IEEE system, gaps are much smaller but they are still present. (see the lower Fig. 2.6)