Home
last modified time | relevance | path

Searched refs:shiftLeft (Results 1 – 25 of 36) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DSimpleBigDecimal.java36 return new SimpleBigDecimal(value.shiftLeft(scale), scale); in getInstance()
78 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale), in adjustScale()
90 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale); in add()
105 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)), in subtract()
123 BigInteger dividend = bigInt.shiftLeft(scale); in divide()
132 public SimpleBigDecimal shiftLeft(int n) in shiftLeft() method in SimpleBigDecimal
134 return new SimpleBigDecimal(bigInt.shiftLeft(n), scale); in shiftLeft()
145 return bigInt.compareTo(val.shiftLeft(scale)); in compareTo()
193 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale)); in toString()
196 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); in toString()
DECFieldElement.java99 return ONE.shiftLeft(bitLength).subtract(p); in calculateResidue()
344 Vh = modReduce(Vh.multiply(Vh).subtract(Qh.shiftLeft(1))); in lucasSequence()
351 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence()
364 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence()
383 BigInteger _2x = x.shiftLeft(1); in modDouble()
439 BigInteger v = x.subtract(u.shiftLeft(qLen)); in modReduce()
DWNafUtil.java26 BigInteger _3k = k.shiftLeft(1).add(k); in generateCompactNaf()
192 BigInteger _3k = k.shiftLeft(1).add(k); in generateNaf()
294 BigInteger _3k = k.shiftLeft(1).add(k); in getNafWeight()
DTnaf.java93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); in norm()
135 SimpleBigDecimal s3 = v.multiply(v).shiftLeft(1); in norm()
344 …u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.shiftLeft(1))).mod(ECConstants.FOUR)).intVa… in tauAdicNaf()
483 u2 = s.subtract(u0.shiftLeft(1)); in getLucas()
/external/crcalc/src/com/hp/creals/
DUnaryCRFunction.java409 .shiftLeft(rough_prec - working_arg_prec); in approximate()
411 .shiftLeft(rough_prec - working_arg_prec); in approximate()
417 CR h_cr = CR.valueOf(h).shiftLeft(working_arg_prec); in approximate()
426 CR l_cr = CR.valueOf(l).shiftLeft(working_arg_prec); in approximate()
472 adj = adj.shiftLeft(8); in approximate()
477 .shiftLeft(8)); in approximate()
491 .shiftLeft(working_arg_prec); in approximate()
508 .shiftLeft(working_arg_prec); in approximate()
510 .shiftLeft(working_arg_prec); in approximate()
609 CR appr_diff2 = f_high[0].subtract(f_mid[0].shiftLeft(1)).add(f_low[0]); in monotoneDerivative_UnaryCRFunction()
[all …]
DCR.java301 CR result = valueOf(mantissa).shiftLeft(exp); in valueOf()
322 return k.shiftLeft(n); in shift()
328 return k.shiftLeft(n); in scale()
573 scaled_CR = shiftLeft(4*n); in toString()
757 public CR shiftLeft(int n) { in shiftLeft() method in CR
892 return cos_half.multiply(cos_half).shiftLeft(1).subtract(ONE); in cos()
948 return quarter.shiftLeft(2); in ln()
1174 BigInteger dividend = big1.shiftLeft(log_scale_factor); in approximate()
1215 BigInteger scaled_1 = big1.shiftLeft(-calc_precision); in approximate()
1220 big1.shiftLeft(p - 4 - calc_precision); in approximate()
[all …]
/external/proguard/src/proguard/evaluation/value/
DIntegerValue.java137 public abstract IntegerValue shiftLeft(IntegerValue other); in shiftLeft() method in IntegerValue
332 public IntegerValue shiftLeft(UnknownIntegerValue other) in shiftLeft() method in IntegerValue
334 return shiftLeft((IntegerValue)other); in shiftLeft()
576 public IntegerValue shiftLeft(SpecificIntegerValue other) in shiftLeft() method in IntegerValue
578 return shiftLeft((IntegerValue)other); in shiftLeft()
820 public IntegerValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in IntegerValue
822 return shiftLeft((SpecificIntegerValue)other); in shiftLeft()
DLongValue.java150 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in LongValue
304 public LongValue shiftLeft(SpecificLongValue other) in shiftLeft() method in LongValue
460 public LongValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in LongValue
462 return shiftLeft((SpecificIntegerValue)other); in shiftLeft()
DSpecificIntegerValue.java119 public IntegerValue shiftLeft(IntegerValue other) in shiftLeft() method in SpecificIntegerValue
126 return other.shiftLeft(this); in shiftLeftOf()
151 return other.shiftLeft(this); in shiftLeftOf()
251 public IntegerValue shiftLeft(SpecificIntegerValue other) in shiftLeft() method in SpecificIntegerValue
DParticularIntegerValue.java151 public IntegerValue shiftLeft(IntegerValue other) in shiftLeft() method in ParticularIntegerValue
158 return other.shiftLeft(this); in shiftLeftOf()
183 return other.shiftLeft(this); in shiftLeftOf()
279 public IntegerValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in ParticularIntegerValue
DParticularLongValue.java124 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in ParticularLongValue
212 public LongValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in ParticularLongValue
DSpecificLongValue.java104 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in SpecificLongValue
196 public LongValue shiftLeft(SpecificLongValue other) in shiftLeft() method in SpecificLongValue
DUnknownLongValue.java105 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in UnknownLongValue
DUnknownIntegerValue.java121 public IntegerValue shiftLeft(IntegerValue other) in shiftLeft() method in UnknownIntegerValue
/external/swiftshader/third_party/subzero/tests_lit/assembler/arm32/
Drsb.ll24 define internal i64 @shiftLeft(i64 %v, i64 %l) {
25 ; ASM-LABEL:shiftLeft:
26 ; DIS-LABEL:00000000 <shiftLeft>:
27 ; IASM-LABEL:shiftLeft:
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java316 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE);
317 BigInteger x4 = x.shiftLeft(2);
321 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
332 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE);
333 BigInteger x4 = x.shiftLeft(2);
337 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/
DPrimes.java525 x = x.mod(ONE.shiftLeft(length - 1)).setBit(length - 1); in implSTRandomPrime()
527 BigInteger c0x2 = c0.shiftLeft(1); in implSTRandomPrime()
528 BigInteger tx2 = x.subtract(ONE).divide(c0x2).add(ONE).shiftLeft(1); in implSTRandomPrime()
541 tx2 = ONE.shiftLeft(length - 1).subtract(ONE).divide(c0x2).add(ONE).shiftLeft(1); in implSTRandomPrime()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDSAParametersGenerator.java187 BigInteger c = x.mod(q.shiftLeft(1)); in generateParameters_FIPS186_2()
258 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1)); in generateParameters_FIPS186_3()
300 BigInteger c = X.mod(q.shiftLeft(1)); in generateParameters_FIPS186_3()
DRSAKeyPairGenerator.java52 BigInteger squaredBound = ONE.shiftLeft(strength - 1); in generateKeyPair()
54 BigInteger minDiff = ONE.shiftLeft(mindiffbits); in generateKeyPair()
DDHKeyGeneratorHelper.java42 min = ONE.shiftLeft(m - 1); in calculatePrivate()
DDHParametersHelper.java45 p = q.shiftLeft(1).add(ONE); in generateSafePrimes()
/external/crcalc/tests/src/com/hp/creals/
DCRTest.java77 check_eq(one.shiftLeft(1),two, "shiftLeft failed"); in testCR()
91 check_eq(one.divide(four).shiftLeft(4), four, "divide failed 1"); in testCR()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedLongTest.java51 .add(BigInteger.ONE.shiftLeft(63).add(bigI))
52 .add(BigInteger.ONE.shiftLeft(64).add(bigI)); in add()
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongTest.java55 .add(BigInteger.ONE.shiftLeft(63).add(bigI))
56 .add(BigInteger.ONE.shiftLeft(64).add(bigI)); in add()
/external/llvm/include/llvm/Support/
DScaledNumber.h625 shiftLeft(Shift);
634 void shiftLeft(int32_t Shift);
834 template <class DigitsT> void ScaledNumber<DigitsT>::shiftLeft(int32_t Shift) { in shiftLeft() function
869 shiftLeft(-Shift); in shiftRight()

12