Home
last modified time | relevance | path

Searched refs:shiftRight (Results 1 – 25 of 40) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DTnaf.java287 BigInteger ns = k.shiftRight(m - _k - 2 + a); in approximateDivisionByN()
291 BigInteger hs = gs.shiftRight(m); in approximateDivisionByN()
296 BigInteger ls = gsPlusJs.shiftRight(_k-c); in approximateDivisionByN()
364 BigInteger s = r0.shiftRight(1); in tauAdicNaf()
375 r1 = t.shiftRight(1).negate(); in tauAdicNaf()
557 BigInteger dividend0 = ECConstants.ONE.add(ui[1]).shiftRight(shifts); in getSi()
558 BigInteger dividend1 = ECConstants.ONE.add(ui[0]).shiftRight(shifts).negate(); in getSi()
575 BigInteger dividend0 = ECConstants.ONE.add(ui[1]).shiftRight(shifts); in getSi()
576 BigInteger dividend1 = ECConstants.ONE.add(ui[0]).shiftRight(shifts).negate(); in getSi()
755 BigInteger pow2wMin1 = pow2w.shiftRight(1); in tauAdicWNaf()
[all …]
DECFieldElement.java96 BigInteger firstWord = p.shiftRight(bitLength - 64); in calculateResidue()
250 BigInteger e = q.shiftRight(2).add(ECConstants.ONE); in sqrt()
256 BigInteger t1 = x.modPow(q.shiftRight(3), q); in sqrt()
266 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt()
275 BigInteger legendreExponent = q.shiftRight(1); in sqrt()
397 return x.shiftRight(1); in modHalf()
406 return x.shiftRight(1); in modHalfAbs()
438 BigInteger u = x.shiftRight(qLen); in modReduce()
DWNafUtil.java96 k = k.shiftRight(pos); in generateCompactWindowNaf()
169 k0 = k0.shiftRight(30); in generateJSF()
170 k1 = k1.shiftRight(30); in generateJSF()
259 k = k.shiftRight(pos); in generateWindowNaf()
DSimpleBigDecimal.java150 return bigInt.shiftRight(scale); in floor()
/external/proguard/src/proguard/evaluation/value/
DIntegerValue.java142 public abstract IntegerValue shiftRight(IntegerValue other); in shiftRight() method in IntegerValue
340 public IntegerValue shiftRight(UnknownIntegerValue other) in shiftRight() method in IntegerValue
342 return shiftRight((IntegerValue)other); in shiftRight()
584 public IntegerValue shiftRight(SpecificIntegerValue other) in shiftRight() method in IntegerValue
586 return shiftRight((IntegerValue)other); in shiftRight()
828 public IntegerValue shiftRight(ParticularIntegerValue other) in shiftRight() method in IntegerValue
830 return shiftRight((SpecificIntegerValue)other); in shiftRight()
DLongValue.java158 public LongValue shiftRight(IntegerValue other) in shiftRight() method in LongValue
312 public LongValue shiftRight(SpecificLongValue other) in shiftRight() method in LongValue
468 public LongValue shiftRight(ParticularIntegerValue other) in shiftRight() method in LongValue
470 return shiftRight((SpecificIntegerValue)other); in shiftRight()
DSpecificIntegerValue.java129 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in SpecificIntegerValue
136 return other.shiftRight(this); in shiftRightOf()
156 return other.shiftRight(this); in shiftRightOf()
256 public IntegerValue shiftRight(SpecificIntegerValue other) in shiftRight() method in SpecificIntegerValue
DParticularIntegerValue.java161 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in ParticularIntegerValue
168 return other.shiftRight(this); in shiftRightOf()
188 return other.shiftRight(this); in shiftRightOf()
284 public IntegerValue shiftRight(ParticularIntegerValue other) in shiftRight() method in ParticularIntegerValue
DParticularLongValue.java129 public LongValue shiftRight(IntegerValue other) in shiftRight() method in ParticularLongValue
217 public LongValue shiftRight(ParticularIntegerValue other) in shiftRight() method in ParticularLongValue
DSpecificLongValue.java109 public LongValue shiftRight(IntegerValue other) in shiftRight() method in SpecificLongValue
201 public LongValue shiftRight(SpecificLongValue other) in shiftRight() method in SpecificLongValue
DUnknownLongValue.java110 public LongValue shiftRight(IntegerValue other) in shiftRight() method in UnknownLongValue
DUnknownIntegerValue.java131 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in UnknownIntegerValue
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
DGCMUtil.java165 int m = shiftRight(x) >> 8; in multiplyP()
171 int m = shiftRight(x, z) >> 8; in multiplyP()
193 static int shiftRight(int[] x) in shiftRight() method in GCMUtil
218 static int shiftRight(int[] x, int[] z) in shiftRight() method in GCMUtil
243 static long shiftRight(long[] x) in shiftRight() method in GCMUtil
253 static long shiftRight(long[] x, long[] z) in shiftRight() method in GCMUtil
/external/crcalc/src/com/hp/creals/
DUnaryCRFunction.java456 guess = l.add(h).shiftRight(1); in approximate()
471 if (adj.compareTo(difference.shiftRight(10)) < 0) { in approximate()
475 .shiftRight(10)) > 0){ in approximate()
556 .shiftRight(1)) >= 0) { in approximate()
599 mid[0] = l.add(h).shiftRight(1); in monotoneDerivative_UnaryCRFunction()
645 CR left_deriv = f_arg.subtract(f_left).shiftRight(log_delta); in approximate()
646 CR right_deriv = f_right.subtract(f_arg).shiftRight(log_delta); in approximate()
DCR.java321 if (n < 0) return k.shiftRight(-n); in shift()
331 return adj_k.shiftRight(1); in scale()
766 public CR shiftRight(int n) { in shiftRight() method in CR
857 CR square_root = shiftRight(1).exp(); in exp()
872 static CR half_pi = PI.shiftRight(1);
891 CR cos_half = shiftRight(1).cos(); in cos()
951 CR scaled_result = shiftRight(extra_bits).ln(); in ln()
1178 abs_scaled_divisor.shiftRight(1)); in approximate()
1482 return shifted_result.add(big1).shiftRight(1); in approximate()
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java87 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( in log2()
272 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor()
274 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
280 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
DDoubleUtils.java111 long twiceSignifFloor = absX.shiftRight(shift).longValue(); in bigToDouble()
/external/wycheproof/java/com/google/security/wycheproof/
DEcUtil.java168 BigInteger q = p.subtract(BigInteger.ONE).shiftRight(1); in legendre()
204 BigInteger q = p.add(BigInteger.ONE).shiftRight(2); in modSqrt()
231 BigInteger q = p.add(BigInteger.ONE).shiftRight(1); in modSqrt()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/
DPrimes.java177 BigInteger m = wSubOne.shiftRight(a); in enhancedMRProbablePrimeTest()
303 BigInteger m = wSubOne.shiftRight(a); in isMRProbablePrime()
349 BigInteger m = wSubOne.shiftRight(a); in isMRProbablePrimeToBase()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDhTest.java291 boolean isSafePrime = p.shiftRight(1).isProbablePrime(4); in testKeyPair()
295 r = p.shiftRight(1); in testKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/
DGLVTypeBEndomorphism.java51 b = b.shiftRight(t); in calculateB()
/external/llvm/include/llvm/Support/
DScaledNumber.h629 shiftRight(Shift);
635 void shiftRight(int32_t Shift);
839 shiftRight(-Shift); in shiftLeft()
864 template <class DigitsT> void ScaledNumber<DigitsT>::shiftRight(int32_t Shift) { in shiftRight() function
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java221 e = e.shiftRight(messageBitLength - log2n); in calculateE()
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMath.java85 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( in log2()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfp.java677 protected void shiftRight() { in shiftRight() method in Dfp
731 shiftRight(); in align()
1269 result.shiftRight(); in add()
1377 shiftRight(); in round()
1558 result.shiftRight(); in multiply()

12