Home
last modified time | relevance | path

Searched refs:addend (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/math/
DSignedMutableBigInteger.java85 void signedAdd(SignedMutableBigInteger addend) { in signedAdd() argument
86 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() argument
98 add(addend); in signedAdd()
100 sign = sign * subtract(addend); in signedAdd()
107 void signedSubtract(SignedMutableBigInteger addend) { in signedSubtract() argument
108 if (sign == addend.sign) in signedSubtract()
109 sign = sign * subtract(addend); in signedSubtract()
[all …]
DMutableBigInteger.java742 void add(MutableBigInteger addend) { in add() argument
744 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() argument
802 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 …]
/libcore/ojluni/src/test/java/lang/Long/
DUnsigned.java323 for (int addend = 2; addend <= radix; addend++) { in testParseUnsignedLong()
324 BigInteger b = quotient.multiply(BigInteger.valueOf(radix + addend)); in testParseUnsignedLong()
/libcore/ojluni/src/main/java/java/util/
DRandom.java106 private static final long addend = 0xBL; field in Random
228 nextseed = (oldseed * multiplier + addend) & mask; in next()
/libcore/ojluni/annotations/hiddenapi/java/util/
DRandom.java175 private static final long addend = 11L; // 0xbL field in Random
/libcore/ojluni/src/main/java/jdk/internal/math/
DFDBigInteger.java1233 private /*@ helper @*/ void multAddMe(int iv, int addend) { in multAddMe() argument
1236 long p = v * (data[0] & LONG_MASK) + (addend & LONG_MASK); in multAddMe()
/libcore/ojluni/src/test/java/math/BigInteger/
DBigIntegerTest.java496 …BigInteger addend = new BigInteger(BITS_BURNIKEL_ZIEGLER + BITS_BURNIKEL_ZIEGLER_OFFSET - 34, rand… in divideLarge() local
497 BigInteger v = base.add(addend); in divideLarge()