Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java1331 int preferredScale = Math.max(lhs.scale(), augend.scale()); in add() local
1335 return zeroValueOf(preferredScale); in add()
1338 if (result.scale() == preferredScale) in add()
1340 else if (result.scale() > preferredScale) { in add()
1341 … return stripZerosToMatchScale(result.intVal, result.intCompact, result.scale, preferredScale); in add()
1344 int scaleDiff = preferredScale - result.scale(); in add()
1347 return result.setScale(preferredScale); // can achieve target scale in add()
1672 int preferredScale = saturateLong((long) this.scale - divisor.scale); in divide() local
1675 return zeroValueOf(preferredScale); in divide()
1703 if (preferredScale > quotientScale) in divide()
[all …]