- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isMathematicalInteger (0.11 sec)
-
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
} return trueLog2; } @GwtIncompatible // DoubleMath.isMathematicalInteger public void testIsMathematicalIntegerIntegral() { for (double d : INTEGRAL_DOUBLE_CANDIDATES) { assertTrue(DoubleMath.isMathematicalInteger(d)); } } @GwtIncompatible // DoubleMath.isMathematicalInteger public void testIsMathematicalIntegerFractional() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 27.3K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
} return trueLog2; } @GwtIncompatible // DoubleMath.isMathematicalInteger public void testIsMathematicalIntegerIntegral() { for (double d : INTEGRAL_DOUBLE_CANDIDATES) { assertTrue(DoubleMath.isMathematicalInteger(d)); } } @GwtIncompatible // DoubleMath.isMathematicalInteger public void testIsMathematicalIntegerFractional() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 27.3K bytes - Viewed (0)