Searched refs:shiftLeft (Results 1 – 11 of 11) sorted by relevance
135 res = bigFivePows[1].pow(intExp).shiftLeft(intExp); in powerOf10()155 res = res.shiftLeft(Integer.MAX_VALUE); in powerOf10()158 res = res.shiftLeft(Integer.MAX_VALUE); in powerOf10()161 res = res.shiftLeft(intExp); in powerOf10()
468 return shiftLeft(-n); in shiftRight()484 @NonNull public BigInteger shiftLeft(int n) { in shiftLeft() method in BigInteger
1257 : p.shiftLeft(-i); in divide()2566 mantissa = mantissa.shiftLeft(k); in doubleValue()2574 mantissa = quotAndRem[0].shiftLeft(2).add( in doubleValue()
450 a = a.shiftLeft(1); in test_shiftRightI()475 assertTrue("1 << 0", one.shiftLeft(0).equals(one)); in test_shiftLeftI()476 assertTrue("1 << 1", one.shiftLeft(1).equals(two)); in test_shiftLeftI()477 assertTrue("1 << 63", one.shiftLeft(63).equals( in test_shiftLeftI()479 assertTrue("1 << 64", one.shiftLeft(64).equals( in test_shiftLeftI()481 assertTrue("1 << 65", one.shiftLeft(65).equals( in test_shiftLeftI()483 assertTrue("-1 << 0", minusOne.shiftLeft(0).equals(minusOne)); in test_shiftLeftI()484 assertTrue("-1 << 1", minusOne.shiftLeft(1).equals(minusTwo)); in test_shiftLeftI()485 assertTrue("-1 << 63", minusOne.shiftLeft(63).equals( in test_shiftLeftI()487 assertTrue("-1 << 64", minusOne.shiftLeft(64).equals( in test_shiftLeftI()[all …]
41 aNumber1.add(aNumber2).shiftLeft(125); in testSameObject()
1044 BigInteger result = aNumber.shiftLeft(number); in testShiftLeft1()1062 BigInteger result = aNumber.shiftLeft(number); in testShiftLeft2()1080 BigInteger result = aNumber.shiftLeft(number); in testShiftLeft3()1098 BigInteger result = aNumber.shiftLeft(number); in testShiftLeft4()1116 BigInteger result = aNumber.shiftLeft(number); in testShiftLeft5()
414 BigInteger r1 = x.and((BigInteger.ZERO.not()).shiftLeft(32)); in testRegression()415 BigInteger r3 = x.and((BigInteger.ZERO.not().shiftLeft(32) ).not()); in testRegression()
186 BigInteger.valueOf(2).shiftLeft(63).subtract(BigInteger.ONE)263 BigInteger b = (BigInteger.valueOf(Integer.toUnsignedLong(upper))).shiftLeft(32).
222 BigInteger large = three.shiftLeft(500); in test_gcd()
224 return (BigInteger.valueOf(Integer.toUnsignedLong(upper))).shiftLeft(32). in toUnsignedBigInteger()
1495 return new BigInteger(magnitude).shiftLeft(offset * 32); in toBigInteger()