Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isMathematicalInteger (0.06 sec)

  1. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

          tmp += Double.doubleToRawLongBits(DoubleMath.factorial(factorials[j]));
        }
        return tmp;
      }
    
      @Benchmark
      int isMathematicalInteger(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          if (DoubleMath.isMathematicalInteger(doubles[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    
      @Benchmark
      int isPowerOfTwo(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top