Class FastMath.ExpFracTable

  • Enclosing class:
    FastMath

    private static class FastMath.ExpFracTable
    extends java.lang.Object
    Enclose large data table in nested static class so it's only loaded on first access.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static double[] EXP_FRAC_TABLE_A
      Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x].
      private static double[] EXP_FRAC_TABLE_B
      Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x].
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ExpFracTable()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EXP_FRAC_TABLE_A

        private static final double[] EXP_FRAC_TABLE_A
        Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x]. 1024 = 2^10
      • EXP_FRAC_TABLE_B

        private static final double[] EXP_FRAC_TABLE_B
        Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x].
    • Constructor Detail

      • ExpFracTable

        private ExpFracTable()