Recover table Javadoc lost when tables extrtacted from FastMath source file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180764 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
60657ea039
commit
3a63eea7d4
|
@ -23,7 +23,9 @@ package org.apache.commons.math.util;
|
|||
* @version $Id$
|
||||
*/
|
||||
class FastMathLiteralArrays {
|
||||
/** "EXP_INT_A" table. */
|
||||
/** Exponential evaluated at integer values,
|
||||
* exp(x) = expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX].
|
||||
*/
|
||||
private static final double[] EXP_INT_A = new double[] {
|
||||
+0.0d,
|
||||
Double.NaN,
|
||||
|
@ -1527,7 +1529,9 @@ class FastMathLiteralArrays {
|
|||
Double.NaN,
|
||||
};
|
||||
|
||||
/** "EXP_INT_B" table. */
|
||||
/** Exponential evaluated at integer values,
|
||||
* exp(x) = expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX]
|
||||
*/
|
||||
private static final double[] EXP_INT_B = new double[] {
|
||||
+0.0d,
|
||||
Double.NaN,
|
||||
|
@ -3032,7 +3036,10 @@ class FastMathLiteralArrays {
|
|||
};
|
||||
|
||||
|
||||
/** "EXP_FRAC_A" table. */
|
||||
/** Exponential over the range of 0 - 1 in increments of 2^-10
|
||||
* exp(x/1024) = expFracTableA[x] + expFracTableB[x].
|
||||
* 1024 = 2^10
|
||||
*/
|
||||
private static final double[] EXP_FRAC_A = new double[] {
|
||||
+1.0d,
|
||||
+1.0009770393371582d,
|
||||
|
@ -4061,7 +4068,9 @@ class FastMathLiteralArrays {
|
|||
+2.7182817459106445d,
|
||||
};
|
||||
|
||||
/** "EXP_FRAC_B" table. */
|
||||
/** Exponential over the range of 0 - 1 in increments of 2^-10
|
||||
* exp(x/1024) = expFracTableA[x] + expFracTableB[x].
|
||||
*/
|
||||
private static final double[] EXP_FRAC_B = new double[] {
|
||||
+0.0d,
|
||||
+1.552583321178453E-10d,
|
||||
|
@ -5090,7 +5099,7 @@ class FastMathLiteralArrays {
|
|||
+8.254840070367875E-8d,
|
||||
};
|
||||
|
||||
/** "LN_MANT" table. */
|
||||
/** Extended precision logarithm table over the range 1 - 2 in increments of 2^-10. */
|
||||
private static final double[][] LN_MANT = new double[][] {
|
||||
{+0.0d, +0.0d, }, // 0
|
||||
{+9.760860120877624E-4d, -3.903230345984362E-11d, }, // 1
|
||||
|
|
Loading…
Reference in New Issue