Home
last modified time | relevance | path

Searched refs:addend (Results 1 – 5 of 5) 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.java737 void add(MutableBigInteger addend) { in add() argument
739 int y = addend.intLen; in add()
740 int resultLen = (intLen > addend.intLen ? intLen : addend.intLen); in add()
751 (addend.value[y+addend.offset] & LONG_MASK) + carry; in add()
767 sum = (addend.value[y+addend.offset] & LONG_MASK) + carry; in add()
796 void addShifted(MutableBigInteger addend, int n) { in addShifted() argument
797 if (addend.isZero()) { in addShifted()
802 int y = addend.intLen + n; in addShifted()
813 int bval = y+addend.offset < addend.value.length ? addend.value[y+addend.offset] : 0; in addShifted()
832 int bval = y+addend.offset < addend.value.length ? addend.value[y+addend.offset] : 0; in addShifted()
[all …]
/libcore/ojluni/src/main/java/java/util/
DRandom.java89 private static final long addend = 0xBL; field in Random
203 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/sun/misc/
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()