Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for roundToBigInteger (0.12 sec)

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

          tmp += DoubleMath.roundToLong(doubleInLongRange[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int roundToBigInteger(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += DoubleMath.roundToBigInteger(positiveDoubles[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      int log2Round(int reps) {
        int tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

          tmp += DoubleMath.roundToLong(doubleInLongRange[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int roundToBigInteger(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += DoubleMath.roundToBigInteger(positiveDoubles[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      int log2Round(int reps) {
        int tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
Back to top