- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for logs (0.16 sec)
-
guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
} } /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */ private static BigInteger oldSlowFactorial(int n1, int n2) { assert n1 <= n2; if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) { // the result will definitely fit into a long long result = 1; for (int i = n1 + 1; i <= n2; i++) { result *= i; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
} } /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */ private static BigInteger oldSlowFactorial(int n1, int n2) { assert n1 <= n2; if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) { // the result will definitely fit into a long long result = 1; for (int i = n1 + 1; i <= n2; i++) { result *= i; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.3K bytes - Viewed (0)