OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BigInteger
(Results
276 - 300
of
621
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/guava/guava-tests/test/com/google/common/math/
LongMathTest.java
29
import static java.math.
BigInteger
.valueOf;
40
import java.math.
BigInteger
;
52
assertEquals(BigIntegerMath.sqrt(
BigInteger
.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(),
60
BigIntegerMath.log10(
BigInteger
.ONE.shiftLeft(Long.SIZE - i), FLOOR),
79
assertEquals(BigIntegerMath.sqrt(
BigInteger
.TEN.pow(2 * i + 1), FLOOR),
80
BigInteger
.valueOf(LongMath.halfPowersOf10[i]));
82
BigInteger
nextBigger =
83
BigIntegerMath.sqrt(
BigInteger
.TEN.pow(2 * LongMath.halfPowersOf10.length + 1), FLOOR);
84
assertTrue(nextBigger.compareTo(
BigInteger
.valueOf(Long.MAX_VALUE)) > 0);
143
BigInteger
difference = BigInteger.valueOf(x).subtract(BigInteger.valueOf(y))
[
all
...]