| Floating Point | ||||||||||
| Need numbers with fractions (type float in C) | ||||||||||
| 3.142 | ||||||||||
| 3.15576ten * 109 | ||||||||||
| Scientific notation: | ||||||||||
| Normalized: no leading 0 | ||||||||||
| Base 10: | +/- D.FFFF * 10exp | |||||||||
| Base K: | +/- D.FFFF * Kexp | |||||||||
| Base 2: | +/- D.FFFF X 2exp | |||||||||
| Binary example | ||||||||||
| 1.0 * 2-1 | 0.5ten | |||||||||
| binary point | ||||||||||
| General form: canonical binary scientific notation | ||||||||||
| 1.fffftwo * 2eeee | ||||||||||
| ffff | fraction (signficand) | |||||||||
| eeee | exponent (expressed in decimal for simplicity) | |||||||||
| Note that both have signs | ||||||||||