Home
last modified time | relevance | path

Searched refs:LONG_MASK (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/math/
DMutableBigInteger.java46 import static java.math.BigInteger.LONG_MASK;
176 long d = value[offset] & LONG_MASK; in toLong()
177 return (intLen == 2) ? d << 32 | (value[offset + 1] & LONG_MASK) : d; in toLong()
212 ((mag[1] & LONG_MASK) | (d & LONG_MASK) << 32) : in toBigDecimal()
213 d & LONG_MASK; in toBigDecimal()
233 ((mag[1] & LONG_MASK) | (d & LONG_MASK) << 32) : in toCompactValue()
234 d & LONG_MASK; in toCompactValue()
337 long hb = ((bv >>> 1) + carry) & LONG_MASK; in compareHalf()
338 long v = val[i++] & LONG_MASK; in compareHalf()
377 return value[offset+index] & LONG_MASK; in getLong()
[all …]
DBigInteger.java202 final static long LONG_MASK = 0xffffffffL; field in BigInteger
573 long ylong = y & LONG_MASK; in destructiveMulAdd()
574 long zlong = z & LONG_MASK; in destructiveMulAdd()
580 product = ylong * (x[i] & LONG_MASK) + carry; in destructiveMulAdd()
586 long sum = (x[len-1] & LONG_MASK) + zlong; in destructiveMulAdd()
590 sum = (x[i] & LONG_MASK) + carry; in destructiveMulAdd()
1287 sum = (x[--xIndex] & LONG_MASK) + val;
1292 sum = val + (x[0] & LONG_MASK);
1298 sum = (x[--xIndex] & LONG_MASK) + (val & LONG_MASK);
1300 sum = (x[--xIndex] & LONG_MASK) + (highWord & LONG_MASK) + (sum >>> 32);
[all …]
DBigDecimal.java32 import static java.math.BigInteger.LONG_MASK;
2776 (val2 & LONG_MASK)); in hashCode()
3892 (((long) m[1] & LONG_MASK) + (((long)d) << 32)) : in compactValFor()
3893 (((long)d) & LONG_MASK); in compactValFor()
4800 long d0_lo = dividend0 & LONG_MASK;
4802 long d1_lo = dividend1 & LONG_MASK;
4804 long d0 = product & LONG_MASK;
4807 d1 = product & LONG_MASK;
4810 d1 = product & LONG_MASK;
4813 d2 &= LONG_MASK;
[all …]