Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for biggestSimpleBinomials (0.13 sec)

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

      public void testConstantsBiggestSimpleBinomials() {
        for (int i = 0; i < LongMath.biggestSimpleBinomials.length; i++) {
          int k = i;
          assertTrue(LongMath.biggestSimpleBinomials[k] <= LongMath.biggestBinomials[k]);
          long unused = simpleBinomial(LongMath.biggestSimpleBinomials[k], k); // mustn't throw
          if (LongMath.biggestSimpleBinomials[k] < Integer.MAX_VALUE) {
            // unless all n are fair game with this k
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

        68,
        67,
        67,
        66,
        66,
        66,
        66
      };
    
      /*
       * binomial(biggestSimpleBinomials[k], k) doesn't need to use the slower GCD-based impl, but
       * binomial(biggestSimpleBinomials[k] + 1, k) does.
       */
      @VisibleForTesting
      static final int[] biggestSimpleBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        2642246,
        86251,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top