Home
last modified time | relevance | path

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

/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.java1136 long carry = 0;
1139 carry += (a[i] & 0xFFFFFFFFL) * (factor & 0xFFFFFFFFL);
1140 res[i] = (int) carry;
1141 carry >>>= 32;
1143 return (int) carry;
1147 long carry = addend & 0xFFFFFFFFL;
1149 for (int i = 0; (carry != 0) && (i < aSize); i++) {
1150 carry += a[i] & 0xFFFFFFFFL;
1151 a[i] = (int) carry;
1152 carry >>= 32;
[all …]
/libcore/luni/src/main/native/
Dcbigint.cpp139 uint64_t carry; in addHighPrecision() local
151 carry = 0; in addHighPrecision()
158 arg1[index] = temp3 + carry; in addHighPrecision()
160 carry = 0; in addHighPrecision()
162 carry = 1; in addHighPrecision()
165 if (!carry) in addHighPrecision()
/libcore/benchmarks/libs/
Dcaliper.jar.txt98 (b) You must cause any modified files to carry prominent notices