Home
last modified time | relevance | path

Searched refs:resLength (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/math/
DLogical.java113 int resLength = Math.min(val.numberLength, that.numberLength); in andPositive() local
116 if (i >= resLength) { in andPositive()
120 int[] resDigits = new int[resLength]; in andPositive()
121 for ( ; i < resLength; i++) { in andPositive()
125 return new BigInteger(1, resLength, resDigits); in andPositive()
139 int resLength = positive.numberLength; in andDiffSigns() local
140 int[] resDigits = new int[resLength]; in andDiffSigns()
160 return new BigInteger(1, resLength, resDigits); in andDiffSigns()
175 int resLength; in andNegative() local
194 resLength = longer.numberLength + 1; in andNegative()
[all …]
DBitLevel.java144 int resLength = source.numberLength - intCount; in shiftRight() local
145 int[] resDigits = new int[resLength + 1]; in shiftRight()
147 shiftRight(resDigits, resLength, source.digits, intCount, count); in shiftRight()
157 for (i = 0; (i < resLength) && (resDigits[i] == -1); i++) { in shiftRight()
160 if (i == resLength) { in shiftRight()
161 resLength++; in shiftRight()
166 return new BigInteger(source.sign, resLength, resDigits); in shiftRight()
218 int resLength = Math.max(intCount + 1, val.numberLength) + 1; in flipBit() local
219 int[] resDigits = new int[resLength]; in flipBit()
253 return new BigInteger(resSign, resLength, resDigits); in flipBit()