Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBigInteger.java2523 int nBits = n&0x1F; in leftShift() local
2528 primitiveLeftShift(a, len, nBits); in leftShift()
2531 if (nBits <= (32-bitsInHighWord)) { in leftShift()
2534 primitiveLeftShift(result, result.length, nBits); in leftShift()
2539 primitiveRightShift(result, result.length, 32 - nBits); in leftShift()
3310 int nBits = n & 0x1f;
3314 if (nBits == 0) {
3319 int nBits2 = 32 - nBits;
3329 newMag[i++] = mag[j++] << nBits | mag[j] >>> nBits2;
3330 newMag[i] = mag[j] << nBits;
[all …]
DMutableBigInteger.java541 int nBits = n & 0x1F; in rightShift() local
543 if (nBits == 0) in rightShift()
546 if (nBits >= bitsInHighWord) { in rightShift()
547 this.primitiveLeftShift(32 - nBits); in rightShift()
550 primitiveRightShift(nBits); in rightShift()
576 int nBits = n&0x1F; in leftShift() local
581 primitiveLeftShift(nBits); in leftShift()
586 if (nBits <= (32-bitsInHighWord)) in leftShift()
607 if (nBits == 0) in leftShift()
609 if (nBits <= (32-bitsInHighWord)) in leftShift()
[all …]