|
1 | 1 | " |
2 | | -A PMFloatingPointMachine represents the numerical precision of this system. |
3 | | -
|
4 | | -Instance Variables |
5 | | -
|
6 | | - defaultNumericalPrecision: The relative |
7 | | -numerical precision that can be expected for a general numerical computation. One should consider to numbers a and b equal if the relative difference between them is less than the default machine precision. |
8 | | -
|
9 | | - largestExponentArgument: natural logarithm of largest number |
10 | | -
|
11 | | - largestNumber: The largest positive number that can be represented in the machine |
12 | | -
|
13 | | - machinePrecision: r^{-(n+1)}, with the largest n such that (1 + r^-n) - 1 != 0 |
14 | | -
|
15 | | - negativeMachinePrecision: r^{-(n+1)}, with the largest n such that (1 - r^-n) - 1 != 0 |
16 | | -
|
17 | | - radix: The radix of the floating point representation. This is often 2. |
18 | | -
|
19 | | - smallNumber: A number that can be added to some value without noticeably changing the result of the computation |
20 | | -
|
21 | | - smallestNumber: The smallest positive number different from 0. |
22 | | -
|
23 | | -
|
24 | | -largestExponentArgument |
25 | | - - xxxxx |
| 2 | +A `PMFloatingPointMachine` represents the numerical precision of this system. |
| 3 | +
|
| 4 | +##Instance Variables |
| 5 | +
|
| 6 | +- `defaultNumericalPrecision` The relative numerical precision that can be expected for a general numerical computation. One should consider to numbers a and b equal if the relative difference between them is less than the default machine precision, |
| 7 | +- `largestExponentArgument` Natural logarithm of largest number, |
| 8 | +- `largestNumber` The largest positive number that can be represented in the machine, |
| 9 | +- `machinePrecision` $r^{-(n+1)}$, with the largest n such that $(1 + r^{-n}) - 1$ != 0, |
| 10 | +- `negativeMachinePrecision` $r^{-(n+1)}$, with the largest n such that $(1 - r^{-n}) - 1$ != 0, |
| 11 | +- `radix` The radix of the floating point representation. This is often 2, |
| 12 | +- `smallNumber` A number that can be added to some value without noticeably changing the result of the computation, |
| 13 | +- `smallestNumber` The smallest positive number different from 0. |
26 | 14 |
|
27 | 15 | This class is detailed in Object Oriented Implementation of Numerical Methods, Section 1.4.1 and 1.4.2. |
28 | 16 |
|
|
0 commit comments