Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Sadowski committed Nov 22, 2023
2 parents aaa39b8 + 6b97a08 commit d961ff2
Show file tree
Hide file tree
Showing 84 changed files with 348 additions and 340 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4082,7 +4082,7 @@ public static void main(String[] a) {
}

/** Enclose large data table in nested static class so it's only loaded on first access. */
private static class ExpIntTable {
private static final class ExpIntTable {
/** Exponential evaluated at integer values,
* exp(x) = expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX].
*/
Expand Down Expand Up @@ -4121,7 +4121,7 @@ private static class ExpIntTable {
}

/** Enclose large data table in nested static class so it's only loaded on first access. */
private static class ExpFracTable {
private static final class ExpFracTable {
/** Exponential over the range of 0 - 1 in increments of 2^-10
* exp(x/1024) = expFracTableA[x] + expFracTableB[x].
* 1024 = 2^10
Expand Down Expand Up @@ -4154,7 +4154,7 @@ private static class ExpFracTable {
}

/** Enclose large data table in nested static class so it's only loaded on first access. */
private static class lnMant {
private static final class lnMant {
/** Extended precision logarithm table over the range 1 - 2 in increments of 2^-10. */
private static final double[][] LN_MANT;

Expand Down
Loading

0 comments on commit d961ff2

Please sign in to comment.