Searched refs:qsign (Results 1 – 1 of 1) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 4136 int qsign; // quotient sign in divideAndRound() local 4141 qsign = ((ldividend < 0) == (ldivisor < 0)) ? 1 : -1; in divideAndRound() 4143 boolean increment = needIncrement(ldivisor, roundingMode, qsign, q, r); in divideAndRound() 4144 return valueOf((increment ? q + qsign : q), scale); in divideAndRound() 4158 int qsign; // quotient sign in divideAndRound() local 4163 qsign = ((ldividend < 0) == (ldivisor < 0)) ? 1 : -1; in divideAndRound() 4165 boolean increment = needIncrement(ldivisor, roundingMode, qsign, q, r); in divideAndRound() 4166 return increment ? q + qsign : q; in divideAndRound() 4175 private static boolean commonNeedIncrement(int roundingMode, int qsign, in commonNeedIncrement() argument 4188 return qsign > 0; in commonNeedIncrement() [all …]
|