Binary Number System: Representations | |
| Principles of Floating Point Numbers Calculations may have to deal with extremely large numbers and extremely
small numbers. Need to separate the range from the precision. We need some precision within a desired range. Some precision without having to have precision throughout the range. Answer: scientific notation Principles of Floating Point scientific notation: n = f x 10e example: 3.14 = 0.314 x 101 range – determined by number of digits in the
exponent (one form is usually chosen as the standard) Floating-point used to model the real-number system of math – however some important differences. +0.100 x 10-99 to +0.999 x 10+99
only 179,100 positive, 179,100 negative and one zero. That is 358,201 numbers out of the infinite number possible between the limits. Some numbers (a result of calculation) can not be expressed with floating
point – therefore round. Relative error for rounding is basically the same for smaller numbers
as for larger number. |
|