Searched refs:ldivisor (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 4133 …private static BigDecimal divideAndRound(long ldividend, long ldivisor, int scale, int roundingMod… in divideAndRound() argument 4137 long q = ldividend / ldivisor; // store quotient in long in divideAndRound() 4140 long r = ldividend % ldivisor; // store remainder in long in divideAndRound() 4141 qsign = ((ldividend < 0) == (ldivisor < 0)) ? 1 : -1; in divideAndRound() 4143 boolean increment = needIncrement(ldivisor, roundingMode, qsign, q, r); in divideAndRound() 4157 private static long divideAndRound(long ldividend, long ldivisor, int roundingMode) { in divideAndRound() argument 4159 long q = ldividend / ldivisor; // store quotient in long in divideAndRound() 4162 long r = ldividend % ldivisor; // store remainder in long in divideAndRound() 4163 qsign = ((ldividend < 0) == (ldivisor < 0)) ? 1 : -1; in divideAndRound() 4165 boolean increment = needIncrement(ldivisor, roundingMode, qsign, q, r); in divideAndRound() [all …]
|
D | MutableBigInteger.java | 1681 private MutableBigInteger divideLongMagnitude(long ldivisor, MutableBigInteger quotient) { 1699 int shift = Long.numberOfLeadingZeros(ldivisor); 1701 ldivisor<<=shift; 1712 int dh = (int)(ldivisor >>> 32); 1714 int dl = (int)(ldivisor & LONG_MASK);
|