Searched refs:addend (Results 1 – 7 of 7) sorted by relevance
85 void signedAdd(SignedMutableBigInteger addend) { in signedAdd() argument86 if (sign == addend.sign) in signedAdd()87 add(addend); in signedAdd()89 sign = sign * subtract(addend); in signedAdd()96 void signedAdd(MutableBigInteger addend) { in signedAdd() argument98 add(addend); in signedAdd()100 sign = sign * subtract(addend); in signedAdd()107 void signedSubtract(SignedMutableBigInteger addend) { in signedSubtract() argument108 if (sign == addend.sign) in signedSubtract()109 sign = sign * subtract(addend); in signedSubtract()[all …]
742 void add(MutableBigInteger addend) { in add() argument744 int y = addend.intLen; in add()745 int resultLen = (intLen > addend.intLen ? intLen : addend.intLen); in add()756 (addend.value[y+addend.offset] & LONG_MASK) + carry; in add()772 sum = (addend.value[y+addend.offset] & LONG_MASK) + carry; in add()801 void addShifted(MutableBigInteger addend, int n) { in addShifted() argument802 if (addend.isZero()) { in addShifted()807 int y = addend.intLen + n; in addShifted()818 int bval = y+addend.offset < addend.value.length ? addend.value[y+addend.offset] : 0; in addShifted()837 int bval = y+addend.offset < addend.value.length ? addend.value[y+addend.offset] : 0; in addShifted()[all …]
323 for (int addend = 2; addend <= radix; addend++) { in testParseUnsignedLong()324 BigInteger b = quotient.multiply(BigInteger.valueOf(radix + addend)); in testParseUnsignedLong()
106 private static final long addend = 0xBL; field in Random228 nextseed = (oldseed * multiplier + addend) & mask; in next()
175 private static final long addend = 11L; // 0xbL field in Random
1233 private /*@ helper @*/ void multAddMe(int iv, int addend) { in multAddMe() argument1236 long p = v * (data[0] & LONG_MASK) + (addend & LONG_MASK); in multAddMe()
496 …BigInteger addend = new BigInteger(BITS_BURNIKEL_ZIEGLER + BITS_BURNIKEL_ZIEGLER_OFFSET - 34, rand… in divideLarge() local497 BigInteger v = base.add(addend); in divideLarge()