Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DFDBigInteger.java298 long carry = (v0 & LONG_MASK) * pow5; in valueOfMulPow52() local
299 v0 = (int) carry; in valueOfMulPow52()
300 carry >>>= 32; in valueOfMulPow52()
301 carry = (v1 & LONG_MASK) * pow5 + carry; in valueOfMulPow52()
302 v1 = (int) carry; in valueOfMulPow52()
303 int v2 = (int) (carry >>> 32); in valueOfMulPow52()
1199 long carry = 0L; in add() local
1201 carry += (i < big.offset ? 0L : (big.data[i - big.offset] & LONG_MASK) ) in add()
1203 r[i] = (int) carry; in add()
1204 carry >>= 32; // signed shift. in add()
[all …]
/libcore/luni/src/main/java/java/math/
DBitLevel.java115 int carry = 0; in shiftLeftOneBit() local
118 result[i] = (val << 1) | carry; in shiftLeftOneBit()
119 carry = val >>> 31; in shiftLeftOneBit()
121 if(carry != 0) { in shiftLeftOneBit()
122 result[srcLen] = carry; in shiftLeftOneBit()
DBigInteger.java1138 long carry = 0;
1141 carry += (a[i] & 0xFFFFFFFFL) * (factor & 0xFFFFFFFFL);
1142 res[i] = (int) carry;
1143 carry >>>= 32;
1145 return (int) carry;
1149 long carry = addend & 0xFFFFFFFFL;
1151 for (int i = 0; (carry != 0) && (i < aSize); i++) {
1152 carry += a[i] & 0xFFFFFFFFL;
1153 a[i] = (int) carry;
1154 carry >>= 32;
[all …]
/libcore/luni/src/main/native/
Dcbigint.cpp78 uint64_t carry; in addHighPrecision() local
90 carry = 0; in addHighPrecision()
97 arg1[index] = temp3 + carry; in addHighPrecision()
99 carry = 0; in addHighPrecision()
101 carry = 1; in addHighPrecision()
104 if (!carry) in addHighPrecision()
/libcore/benchmarks/libs/
Dcaliper.jar.txt98 (b) You must cause any modified files to carry prominent notices
/libcore/
DLICENSE91 a) You must cause the modified files to carry prominent notices stating
/libcore/ojluni/
DNOTICE377 a) You must cause the modified files to carry prominent notices stating