Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for exponents (0.04 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final ImmutableList<RoundingMode> ALL_SAFE_ROUNDING_MODES =
          ImmutableList.of(DOWN, UP, FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
    
      // Exponents to test for the pow() function.
      static final ImmutableList<Integer> EXPONENTS =
          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /* Helper function to make a Long value from an Integer. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.NONZERO_INTEGER_CANDIDATES;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.NEGATIVE_LONG_CANDIDATES;
    import static com.google.common.math.MathTesting.NONZERO_LONG_CANDIDATES;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Platform.java

        return e.getDeclaringClass();
      }
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent;
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Platform.java

        return e.getDeclaringClass();
      }
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent;
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

                for (String expMarker : ImmutableList.of("p", "P")) {
                  for (String exponent : ImmutableList.of("0", "-5", "+20", "52")) {
                    for (String typePart : ImmutableList.of("", "D", "F", "d", "f")) {
                      checkTryParse(
                          signChar + hexPrefix + iPart + fPart + expMarker + exponent + typePart);
                    }
                  }
                }
              }
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

                for (String expMarker : ImmutableList.of("p", "P")) {
                  for (String exponent : ImmutableList.of("0", "-5", "+20", "52")) {
                    for (String typePart : ImmutableList.of("", "D", "F", "d", "f")) {
                      checkTryParse(
                          signChar + hexPrefix + iPart + fPart + expMarker + exponent + typePart);
                    }
                  }
                }
              }
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

       * time.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       */
      @GwtIncompatible // TODO
      public static long pow(long b, int k) {
        checkNonNegative("exponent", k);
        if (-2 <= b && b <= 2) {
          switch ((int) b) {
            case 0:
              return (k == 0) ? 1 : 0;
            case 1:
              return 1;
            case -1:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

                for (String expMarker : ImmutableList.of("p", "P")) {
                  for (String exponent : ImmutableList.of("0", "-5", "+20", "52")) {
                    for (String typePart : ImmutableList.of("", "D", "F", "d", "f")) {
                      checkTryParse(
                          signChar + hexPrefix + iPart + fPart + expMarker + exponent + typePart);
                    }
                  }
                }
              }
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/FloatsTest.java

                for (String expMarker : ImmutableList.of("p", "P")) {
                  for (String exponent : ImmutableList.of("0", "-5", "+20", "52")) {
                    for (String typePart : ImmutableList.of("", "D", "F", "d", "f")) {
                      checkTryParse(
                          signChar + hexPrefix + iPart + fPart + expMarker + exponent + typePart);
                    }
                  }
                }
              }
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top