- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for positiveDoubles (0.23 sec)
-
guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
int j = i & ARRAY_MASK; tmp += DoubleMath.roundToBigInteger(positiveDoubles[j], mode).intValue(); } return tmp; } @Benchmark int log2Round(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += DoubleMath.log2(positiveDoubles[j], mode); } return tmp; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
int j = i & ARRAY_MASK; tmp += DoubleMath.roundToBigInteger(positiveDoubles[j], mode).intValue(); } return tmp; } @Benchmark int log2Round(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += DoubleMath.log2(positiveDoubles[j], mode); } return tmp; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java
*/ public class DoubleMathBenchmark { private static final double[] positiveDoubles = new double[ARRAY_SIZE]; private static final int[] factorials = new int[ARRAY_SIZE]; private static final double[] doubles = new double[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positiveDoubles[i] = randomPositiveDouble(); doubles[i] = randomDouble(Long.SIZE);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java
*/ public class DoubleMathBenchmark { private static final double[] positiveDoubles = new double[ARRAY_SIZE]; private static final int[] factorials = new int[ARRAY_SIZE]; private static final double[] doubles = new double[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positiveDoubles[i] = randomPositiveDouble(); doubles[i] = randomDouble(Long.SIZE);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckNonNegative_minDouble() { MathPreconditions.checkNonNegative("double", Double.MIN_VALUE); } public void testCheckNonNegative_positiveDouble() { MathPreconditions.checkNonNegative("double", 1d); } public void testCheckNonNegative_negativeDouble() { try { MathPreconditions.checkNonNegative("double", -1d); fail();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckNonNegative_minDouble() { MathPreconditions.checkNonNegative("double", Double.MIN_VALUE); } public void testCheckNonNegative_positiveDouble() { MathPreconditions.checkNonNegative("double", 1d); } public void testCheckNonNegative_negativeDouble() { try { MathPreconditions.checkNonNegative("double", -1d); fail();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0)