Searched refs:MAX_FACTORIAL (Results 1 - 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/math/
H A DDoubleMathTest.java60 assertTrue(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL).compareTo(MAX_DOUBLE_VALUE) <= 0);
62 BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1).compareTo(MAX_DOUBLE_VALUE) > 0);
66 for (int i = 0, n = 0; n <= DoubleMath.MAX_FACTORIAL; i++, n += 16) {
458 for (int i = 0; i <= DoubleMath.MAX_FACTORIAL; i++) {
466 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.factorial(DoubleMath.MAX_FACTORIAL + 1));
467 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.factorial(DoubleMath.MAX_FACTORIAL + 20));
/external/guava/guava/src/com/google/common/math/
H A DDoubleMath.java273 if (n > MAX_FACTORIAL) {
287 static final int MAX_FACTORIAL = 170; field in class:DoubleMath

Completed in 38 milliseconds